ossp-pkg/js/configure.ac 1.1 -> 1.2
--- configure.ac 2006/07/22 11:04:43 1.1
+++ configure.ac 2006/07/22 13:48:03 1.2
@@ -36,9 +36,14 @@
AC_PROG_MAKE_SET
AC_PROG_CC
AC_CHECK_DEBUGGING
+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_LIB(m, floor)
-CPPFLAGS="$CPPFLAGS -DXP_UNIX"
-CPPFLAGS="$CPPFLAGS -DNDEBUG"
+CPPFLAGS="$CPPFLAGS -DOSSP"
with_tags=""
sinclude(libtool.m4)
|
|