From 38c44a9161ee5e5d149743bc5fb6458f65184de0 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 14 Apr 2000 11:21:41 +0000 Subject: [PATCH] Use AC_FUNC_GETLOADAVG, AC_FUNC_MKTIME. --- configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 12676dcbf84..86913c5b5aa 100644 --- a/configure.in +++ b/configure.in @@ -1843,7 +1843,14 @@ rename closedir mkdir rmdir sysinfo \ 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. -- 2.39.5