summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-19 17:25:42 +0100
committerMichael Adam <obnox@samba.org>2008-02-19 22:14:12 +0100
commit3e02cdcaa8c5aae480025ca61efd2d4286cd3104 (patch)
tree298c123c7be749e97ba9353d945c6d7befdb6cd5
parentc4265bd3e8acaf8a7f5ce55b0845fd893d86037f (diff)
downloadsamba-3e02cdcaa8c5aae480025ca61efd2d4286cd3104.tar.gz
samba-3e02cdcaa8c5aae480025ca61efd2d4286cd3104.tar.bz2
samba-3e02cdcaa8c5aae480025ca61efd2d4286cd3104.zip
Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
Michael (cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8) (This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)
-rw-r--r--source3/lib/replace/getifaddrs.m43
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/replace/getifaddrs.m4 b/source3/lib/replace/getifaddrs.m4
index 297a82d0c3..4259d1a7a3 100644
--- a/source3/lib/replace/getifaddrs.m4
+++ b/source3/lib/replace/getifaddrs.m4
@@ -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