]> Pileus Git - ~andy/fetchmail/commitdiff
Reset LIBS/LDFLAGS/CPPFLAGS/CFLAGS before trying next path prefix.
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 20 Jun 2004 16:04:14 +0000 (16:04 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 20 Jun 2004 16:04:14 +0000 (16:04 -0000)
svn path=/trunk/; revision=3920

m4-local/ac_ma_search_package.m4

index 553c96cca4c3e84afc9945c6280cc1689b232e72..197f76c47b5c415a4fc6b64cf59b5586dbf7aa3f 100644 (file)
@@ -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