summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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*) ;;