From 255ba2693a5010b8e126fdb67a96f49d3d98108d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 20 Jun 2004 16:04:14 +0000 Subject: Reset LIBS/LDFLAGS/CPPFLAGS/CFLAGS before trying next path prefix. svn path=/trunk/; revision=3920 --- m4-local/ac_ma_search_package.m4 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'm4-local/ac_ma_search_package.m4') 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 -- cgit v1.2.3