+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
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>],