From 224a2a62b5f9e23f3edd3e9fcafa52829c322ba1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Aug 2005 10:11:22 +0000 Subject: r9106: look for something more usefull in the -lnsl (this is for solaris) metze (This used to be commit f37bb2a838b83e70d50a0ed036e641ced16d8a7b) --- source4/lib/socket/config.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/socket') diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4 index 786d6c72bc..5c87678bd6 100644 --- a/source4/lib/socket/config.m4 +++ b/source4/lib/socket/config.m4 @@ -33,11 +33,11 @@ AC_CHECK_FUNCS(connect) if test x"$ac_cv_func_connect" = x"no"; then case "$LIBS $SOCKET_LIBS" in *-lnsl*) ;; - *) AC_CHECK_LIB_EXT(nsl_s, SOCKET_LIBS, printf) ;; + *) AC_CHECK_LIB_EXT(nsl_s, SOCKET_LIBS, inet_aton) ;; esac case "$LIBS $SOCKET_LIBS" in *-lnsl*) ;; - *) AC_CHECK_LIB_EXT(nsl, SOCKET_LIBS, printf) ;; + *) AC_CHECK_LIB_EXT(nsl, SOCKET_LIBS, inet_aton) ;; esac case "$LIBS $SOCKET_LIBS" in *-lsocket*) ;; -- cgit