configure.in: Add check for -ldbm and -lndbm.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5608
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Apr 28 13:06:18 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * srv_net.c: Linux doesn't have SOMAXCONN, assume 5 if not defined.
+
+Fri Apr 28 07:32:55 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
+
+ * configure.in: Add check for -ldbm and -lndbm.
Thu Apr 27 17:05:54 EDT 1995 Paul Park (pjpark@mit.edu)
AC_SET_BUILDTOP
AC_PROG_INSTALL
WITH_NETLIB
+AC_CHECK_LIB(ndbm,main)
+AC_CHECK_LIB(dbm,main)
AC_FUNC_CHECK(waitpid,AC_DEFINE(HAVE_WAITPID))
CHECK_WAIT_TYPE
ET_RULES
#define MAX_BIND_TRIES 5
+/* linux doesn't have SOMAXCONN */
+#ifndef SOMAXCONN
+#define SOMAXCONN 5
+#endif
+
/*
* This module can use the pthreads library. To do so, define USE_PTHREADS.
* You'll need to find out what else pthreads requires (e.g. -lmach -lc_r