ossp-pkg/l2/configure.ac 1.6 -> 1.7
--- configure.ac 2001/09/11 10:37:04 1.6
+++ configure.ac 2001/09/13 12:19:45 1.7
@@ -75,6 +75,13 @@
AC_PROG_CPP
AC_CHECK_DEBUGGING
AC_CONFIGURE_LIBTOOL
+
+AC_CHECK_LIB(nsl, gethostname)
+if test ".`echo $LIBS | grep nsl`" = . ;then
+ AC_CHECK_LIB(nsl, gethostbyname)
+fi
+AC_CHECK_LIB(socket, accept)
+
AC_CHECK_FUNCS(inet_aton inet_pton inet_ntoa inet_ntop snprintf vsnprintf)
AC_CHECK_EXTLIB([Dmalloc], dmalloc, dmalloc_debug, dmalloc.h, AC_DEFINE(WITH_DMALLOC))
|
|