summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-05 10:11:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:17 -0500
commit224a2a62b5f9e23f3edd3e9fcafa52829c322ba1 (patch)
tree6e147ce929f080d86fcc2bea7dbdbf0614592c87 /source4/lib
parent2624d8f096f222b48f9aa36e960ce46df597c5b6 (diff)
downloadsamba-224a2a62b5f9e23f3edd3e9fcafa52829c322ba1.tar.gz
samba-224a2a62b5f9e23f3edd3e9fcafa52829c322ba1.tar.bz2
samba-224a2a62b5f9e23f3edd3e9fcafa52829c322ba1.zip
r9106: look for something more usefull in the -lnsl
(this is for solaris) metze (This used to be commit f37bb2a838b83e70d50a0ed036e641ced16d8a7b)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/socket/config.m44
1 files changed, 2 insertions, 2 deletions
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*) ;;