svn commit: samba r23135 - in branches/SAMBA_4_0/source/heimdal_build: .

metze at samba.org metze at samba.org
Fri May 25 08:14:15 GMT 2007


Author: metze
Date: 2007-05-25 08:14:15 +0000 (Fri, 25 May 2007)
New Revision: 23135

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

Log:
inet_ntop and inet_pton are now provided by libreplace

metze
Modified:
   branches/SAMBA_4_0/source/heimdal_build/config.m4
   branches/SAMBA_4_0/source/heimdal_build/config.mk


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/config.m4
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.m4	2007-05-25 08:05:14 UTC (rev 23134)
+++ branches/SAMBA_4_0/source/heimdal_build/config.m4	2007-05-25 08:14:15 UTC (rev 23135)
@@ -70,9 +70,7 @@
 	atexit					\
 	cgetent					\
 	getprogname				\
-	inet_ntop				\
 	inet_aton				\
-	inet_pton				\
 	gethostname				\
 	getnameinfo				\
 	iruserok				\
@@ -241,18 +239,6 @@
 	SMB_ENABLE(HEIMDAL_ROKEN_INET_ATON, YES)
 fi
 
-if test x"$ac_cv_func_inet_pton" = x"no"; then
-    AC_CHECK_LIB_EXT(nsl_s, NSL_LIBS, inet_pton)
-    AC_CHECK_LIB_EXT(nsl, NSL_LIBS, inet_pton)
-    SMB_ENABLE(NSL,YES)
-    if test x"$ac_cv_lib_ext_nsl_s_inet_pton" != x"yes" &&
-       test x"$ac_cv_lib_ext_nsl_inet_pton" != x"yes"; then
-	AC_MSG_ERROR([no inet_pton() function available!])
-    fi
-fi
-
-SMB_EXT_LIB(NSL,[${NSL_LIBS}],[],[],[])
-
 # only add closefrom if needed
 SMB_ENABLE(HEIMDAL_ROKEN_CLOSEFROM, NO)
 if test t$ac_cv_func_closefrom != tyes; then

Modified: branches/SAMBA_4_0/source/heimdal_build/config.mk
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.mk	2007-05-25 08:05:14 UTC (rev 23134)
+++ branches/SAMBA_4_0/source/heimdal_build/config.mk	2007-05-25 08:14:15 UTC (rev 23135)
@@ -439,7 +439,6 @@
 			HEIMDAL_ROKEN_GETPROGNAME \
 			HEIMDAL_ROKEN_CLOSEFROM \
 			GAI \
-			NSL \
 			RESOLV \
 			EXT_SOCKET
 # End SUBSYSTEM HEIMDAL_ROKEN



More information about the samba-cvs mailing list