OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/sio.ac versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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)

CVSTrac 2.0.1