From f7ae1fc1ca09c8a42a28929337cccdb6d735f960 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 13 Sep 2007 10:51:31 +0000 Subject: r25122: fix interface detection code jelmer: I wonder what broke it... metze (This used to be commit 4c8063b9c4ca2c0359859338a8335e177e9c31bd) --- source4/lib/socket/config.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4 index e9c194ddc4..7234eea030 100644 --- a/source4/lib/socket/config.m4 +++ b/source4/lib/socket/config.m4 @@ -102,8 +102,10 @@ dnl the configure uses --with-static-modules=socket_ipv6 # # This tests need LIBS="$NSL_LIBS $SOCKET_LIBS" # +old_CFLAGS=$CFLAGS old_LIBS=$LIBS LIBS="$NSL_LIBS $SOCKET_LIBS" +CFLAGS="$CFLAGS -Ilib/replace" iface=no; AC_CACHE_CHECK([for iface AIX],samba_cv_HAVE_IFACE_AIX,[ AC_TRY_RUN([ @@ -140,4 +142,5 @@ if test x"$samba_cv_HAVE_IFACE_IFREQ" = x"yes"; then fi fi +CFLAGS=$old_CFLAGS LIBS=$old_LIBS -- cgit