diff options
-rw-r--r-- | m4-local/ac_ma_search_package.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/m4-local/ac_ma_search_package.m4 b/m4-local/ac_ma_search_package.m4 index 553c96cc..197f76c4 100644 --- a/m4-local/ac_ma_search_package.m4 +++ b/m4-local/ac_ma_search_package.m4 @@ -83,6 +83,11 @@ dnl fixed ifelse([$6], , , [$6]) AC_DEFINE(HAVE_PKG_$1,1,[Define to 1 if you have the '$1' package.]) break + else + LIBS=$OLD_LIBS + LDFLAGS=$OLD_LDFLAGS + CPPFLAGS=$OLD_CPPFLAGS + CFLAGS=$OLD_CFLAGS fi done if test "$success" = no ; then |