ossp-pkg/sio/sio.ac 1.3 -> 1.4
--- sio.ac 2003/02/06 14:21:38 1.3
+++ sio.ac 2003/06/30 10:36:52 1.4
@@ -35,6 +35,12 @@
dnl # SIO_CHECK_ALL
AC_DEFUN(SIO_CHECK_ALL,[
+dnl # make sure libnsl and libsocket are linked in if they exist
+AC_CHECK_LIB(nsl, gethostname)
+if test ".`echo $LIBS | grep nsl`" = .; then
+ AC_CHECK_LIB(nsl, gethostbyname)
+fi
+AC_CHECK_LIB(socket, accept)
dnl # built-time configuration parameter --enable-bio
AC_MSG_CHECKING(for BIO support)
|
|