svn commit: samba r25122 - in branches/SAMBA_4_0/source/lib/socket: .

metze at samba.org metze at samba.org
Thu Sep 13 10:51:32 GMT 2007


Author: metze
Date: 2007-09-13 10:51:31 +0000 (Thu, 13 Sep 2007)
New Revision: 25122

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25122

Log:
fix interface detection code

jelmer: I wonder what broke it...

metze
Modified:
   branches/SAMBA_4_0/source/lib/socket/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/socket/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/socket/config.m4	2007-09-13 01:10:01 UTC (rev 25121)
+++ branches/SAMBA_4_0/source/lib/socket/config.m4	2007-09-13 10:51:31 UTC (rev 25122)
@@ -102,8 +102,10 @@
 #
 # 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 @@
 fi
 fi
 
+CFLAGS=$old_CFLAGS
 LIBS=$old_LIBS



More information about the samba-cvs mailing list