* configure.ac: Check for srand48 and drand48.

* src/misc/random.cc (srand, drand): Use srand48 and drand48 if
available.
This commit is contained in:
Alexandre Duret-Lutz 2004-11-12 18:27:09 +00:00
parent 5bcb6091fd
commit 4a7486bbff
3 changed files with 15 additions and 3 deletions

View file

@ -45,6 +45,8 @@ AX_CHECK_BUDDY
AX_CHECK_LBTT
AX_CHECK_GSPNLIB
AC_CHECK_FUNCS([srand48 drand48])
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL