summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/bsd/ChangeLog5
-rw-r--r--src/appl/bsd/configure.in2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index 7bf905a39..972964a9c 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 28 20:57:24 1994 Mark Eichin (eichin@tweedledumber.cygnus.com)
+
+ * configure.in (srand48): check for srand48, and if it exists,
+ substitute it for srandom (and lrand48 for random.)
+
Wed Sep 28 14:36:29 1994 Mark Eichin (eichin@rtl.cygnus.com)
* Makefile.in: always put $(K4LIB) before $(KLIB) so that
diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in
index 8002df1c4..2ff1c2551 100644
--- a/src/appl/bsd/configure.in
+++ b/src/appl/bsd/configure.in
@@ -32,6 +32,8 @@ AC_FUNC_CHECK(initgroups,AC_DEFINE(HAVE_INITGROUPS))
AC_FUNC_CHECK(setpriority,AC_DEFINE(HAVE_SETPRIORITY))
AC_FUNC_CHECK(setreuid,AC_DEFINE(HAVE_SETREUID))
AC_FUNC_CHECK(setresuid,AC_DEFINE(HAVE_SETRESUID))
+dnl if srand48 is there, use it (krlogind needs it)
+AC_FUNC_CHECK(srand48,AC_DEFINE(srandom,srand48) AC_DEFINE(random,lrand48))
AC_FUNC_CHECK(sigprocmask,
AC_COMPILE_CHECK([sigset_t],
[#include <signal.h>],