* configure.in (srand48): check for srand48, and if it exists,
authorMark Eichin <eichin@mit.edu>
Thu, 29 Sep 1994 01:04:59 +0000 (01:04 +0000)
committerMark Eichin <eichin@mit.edu>
Thu, 29 Sep 1994 01:04:59 +0000 (01:04 +0000)
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
src/appl/bsd/configure.in

index 7bf905a39352fa47b751369364264afde90626e9..972964a9c4e5785d1e0417822f8c9066cc154045 100644 (file)
@@ -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
index 8002df1c42462a33ab0fbdaa7393fa0ec7909662..2ff1c25511b4cad4e4a18fd5e9012f659bfbb623 100644 (file)
@@ -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>],