summaryrefslogtreecommitdiff
path: root/source4/lib/replace/getifaddrs.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-19 18:05:09 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-19 18:05:09 +0100
commitab915504aaa40cebe5fa09a47b2ae46f7f9f334a (patch)
tree5faa5e1d38fd6359e5f832bbe60e878fe9284e12 /source4/lib/replace/getifaddrs.m4
parent95b294f75b05b31cace3818b85b5bf1b8d4722f2 (diff)
parent5233e43ec7e96afb905f026309b0894178c96499 (diff)
downloadsamba-ab915504aaa40cebe5fa09a47b2ae46f7f9f334a.tar.gz
samba-ab915504aaa40cebe5fa09a47b2ae46f7f9f334a.tar.bz2
samba-ab915504aaa40cebe5fa09a47b2ae46f7f9f334a.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 02cb396d42976efc03fcb0082e914eb17ae72e11)
Diffstat (limited to 'source4/lib/replace/getifaddrs.m4')
-rw-r--r--source4/lib/replace/getifaddrs.m43
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/replace/getifaddrs.m4 b/source4/lib/replace/getifaddrs.m4
index 297a82d0c3..4259d1a7a3 100644
--- a/source4/lib/replace/getifaddrs.m4
+++ b/source4/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