Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
authorMichael Adam <obnox@samba.org>
Tue, 19 Feb 2008 16:25:42 +0000 (17:25 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2008 21:14:12 +0000 (22:14 +0100)
Michael
(cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8)
(This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)

source3/lib/replace/getifaddrs.m4

index 297a82d0c315b8667acce46d16214644436663b0..4259d1a7a3ab041e5298e8e6aba0dd5572f80538 100644 (file)
@@ -43,8 +43,6 @@ iface=no;
 # look for a method of finding the list of network interfaces
 iface=no;
 AC_CACHE_CHECK([for iface getifaddrs],samba_cv_HAVE_IFACE_GETIFADDRS,[
-SAVE_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS ${SAMBA_CONFIGURE_CPPFLAGS}"
 AC_TRY_RUN([
 #define NO_CONFIG_H 1
 #define HAVE_IFACE_GETIFADDRS 1
@@ -52,7 +50,6 @@ AC_TRY_RUN([
 #include "$libreplacedir/replace.c"
 #include "$libreplacedir/getifaddrs.c"],
            samba_cv_HAVE_IFACE_GETIFADDRS=yes,samba_cv_HAVE_IFACE_GETIFADDRS=no,samba_cv_HAVE_IFACE_GETIFADDRS=cross)])
-CPPFLAGS="$SAVE_CPPFLAGS"
 if test x"$samba_cv_HAVE_IFACE_GETIFADDRS" = x"yes"; then
     iface=yes;AC_DEFINE(HAVE_IFACE_GETIFADDRS,1,[Whether iface getifaddrs is available])
 else