diff options
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/v5server/ChangeLog | 7 | ||||
-rw-r--r-- | src/kadmin/v5server/configure.in | 2 | ||||
-rw-r--r-- | src/kadmin/v5server/srv_net.c | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/src/kadmin/v5server/ChangeLog b/src/kadmin/v5server/ChangeLog index 35ec519580..f0937c47d9 100644 --- a/src/kadmin/v5server/ChangeLog +++ b/src/kadmin/v5server/ChangeLog @@ -1,3 +1,10 @@ +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) diff --git a/src/kadmin/v5server/configure.in b/src/kadmin/v5server/configure.in index 24dc436b72..96db244279 100644 --- a/src/kadmin/v5server/configure.in +++ b/src/kadmin/v5server/configure.in @@ -4,6 +4,8 @@ CONFIG_RULES 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 diff --git a/src/kadmin/v5server/srv_net.c b/src/kadmin/v5server/srv_net.c index bdef499e0a..f07c36a418 100644 --- a/src/kadmin/v5server/srv_net.c +++ b/src/kadmin/v5server/srv_net.c @@ -44,6 +44,11 @@ #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 |