From b357dec0ba0b70679ccff2d5204485f1c07a6357 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 29 Sep 1994 01:04:59 +0000 Subject: [PATCH] * configure.in (srand48): check for srand48, and if it exists, substitute it for srandom (and lrand48 for random.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4370 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/configure.in | 2 ++ 2 files changed, 7 insertions(+) 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 ], -- 2.26.2