From f8d4768309cf61325861b5c90c3ae106666fd54f Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 21 May 2004 15:19:53 +0000 Subject: [PATCH] * configure.ac: Replacement function for timegm(). No need to check for setenv() any longer. --- ChangeLog | 5 +++++ configure.ac | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d2010531d..58dd8d273 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-21 David Shaw + + * configure.ac: Replacement function for timegm(). No need to + check for setenv() any longer. + 2004-05-20 David Shaw * NEWS: Note HTTP key fetching. diff --git a/configure.ac b/configure.ac index 087619f11..2e6bf9fd0 100644 --- a/configure.ac +++ b/configure.ac @@ -758,11 +758,11 @@ AC_FUNC_FSEEKO AC_FUNC_VPRINTF AC_FUNC_FORK AC_CHECK_FUNCS(strerror stpcpy strsep strlwr tcgetattr strtoul mmap) -AC_CHECK_FUNCS(strcasecmp strncasecmp ctermid times timegm) +AC_CHECK_FUNCS(strcasecmp strncasecmp ctermid times unsetenv) AC_CHECK_FUNCS(memmove gettimeofday getrusage setrlimit clock_gettime) AC_CHECK_FUNCS(atexit raise getpagesize strftime nl_langinfo setlocale) AC_CHECK_FUNCS(waitpid wait4 sigaction sigprocmask rand pipe stat getaddrinfo) -AC_REPLACE_FUNCS(mkdtemp setenv unsetenv) +AC_REPLACE_FUNCS(mkdtemp timegm) AC_CHECK_TYPES([struct sigaction, sigset_t],,,[#include ]) # See if getopt is in libiberty. This is of course not optimal since