summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5c87678bd6..786d6c72bc 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, inet_aton) ;;
+ *) AC_CHECK_LIB_EXT(nsl_s, SOCKET_LIBS, printf) ;;
esac
case "$LIBS $SOCKET_LIBS" in
*-lnsl*) ;;
- *) AC_CHECK_LIB_EXT(nsl, SOCKET_LIBS, inet_aton) ;;
+ *) AC_CHECK_LIB_EXT(nsl, SOCKET_LIBS, printf) ;;
esac
case "$LIBS $SOCKET_LIBS" in
*-lsocket*) ;;