From 03cfcabec4282ba23d29aa25b5cc766c98abb35a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 26 Oct 2005 13:44:46 +0000 Subject: [PATCH] r11301: why would you look for printf in -lnsl[_s]? Fixing configure checks (This used to be commit c495059de1675676fe4d9a87ce516a54f16e9c66) --- source3/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index 1de82464b4a..eb1974ccf7a 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1102,11 +1102,11 @@ AC_CHECK_FUNCS(connect) if test x"$ac_cv_func_connect" = x"no"; then case "$LIBS" in *-lnsl*) ;; - *) AC_CHECK_LIB(nsl_s, printf) ;; + *) AC_CHECK_LIB(nsl_s, connect) ;; esac case "$LIBS" in *-lnsl*) ;; - *) AC_CHECK_LIB(nsl, printf) ;; + *) AC_CHECK_LIB(nsl, connect) ;; esac case "$LIBS" in *-lsocket*) ;;