--- stunnel-4.04/configure.ac.orig Sun Jan 12 18:23:14 2003 +++ stunnel-4.04/configure.ac Sun Jan 12 18:23:25 2003 @@ -107,7 +107,7 @@ dnl Checks for standard libraries. AC_CHECK_LIB(dl, dlopen) AC_CHECK_LIB(dld, shl_load) -AC_CHECK_LIB(nsl, gethostbyname) +AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname)) AC_CHECK_LIB(socket, socket) # OSF hack instead of simple AC_CHECK_LIB here