1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r11301: why would you look for printf in -lnsl[_s]? Fixing configure checks

(This used to be commit c495059de1)
This commit is contained in:
Gerald Carter 2005-10-26 13:44:46 +00:00 committed by Gerald (Jerry) Carter
parent 2f25efcbaf
commit 03cfcabec4

View File

@ -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*) ;;