summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-26 13:44:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:11 -0500
commit03cfcabec4282ba23d29aa25b5cc766c98abb35a (patch)
treeb2769f559eb62ea44046a573b11cbe869a927f57
parent2f25efcbaf82c2d97b4aad0a59198e388b3ae654 (diff)
downloadsamba-03cfcabec4282ba23d29aa25b5cc766c98abb35a.tar.gz
samba-03cfcabec4282ba23d29aa25b5cc766c98abb35a.tar.bz2
samba-03cfcabec4282ba23d29aa25b5cc766c98abb35a.zip
r11301: why would you look for printf in -lnsl[_s]? Fixing configure checks
(This used to be commit c495059de1675676fe4d9a87ce516a54f16e9c66)
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 1de82464b4..eb1974ccf7 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*) ;;