# HG changeset patch # User Dave Love # Date 955711301 0 # Node ID c5731a195ae1218c2cc43175571b0a0392913858 # Parent 151b7ae3b21fae37328b491e0d3ee6fe47086b33 Use AC_FUNC_GETLOADAVG, AC_FUNC_MKTIME. diff -r 151b7ae3b21f -r c5731a195ae1 configure.in --- a/configure.in Thu Apr 13 23:38:19 2000 +0000 +++ b/configure.in Fri Apr 14 11:21:41 2000 +0000 @@ -1843,7 +1843,14 @@ random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ -__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm) +__fpending ftello mblen mbrlen strsignal setitimer ualarm) + +AC_FUNC_MKTIME +if test "$ac_cv_func_working_mktime" = no; then + AC_DEFINE(BROKEN_MKTIME) +fi + +AC_FUNC_GETLOADAVG # Check this now, so that we will NOT find the above functions in ncurses. # That is because we have not set up to link ncurses in lib-src.