aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-05-21 15:19:53 +0000
committerDavid Shaw <[email protected]>2004-05-21 15:19:53 +0000
commitf8d4768309cf61325861b5c90c3ae106666fd54f (patch)
treefbfd4f5f2123dfdaaa3c4ee313f990500e3cce07
parent* timegm.c: New replacement function. Removes the need for setenv.c and (diff)
downloadgnupg-f8d4768309cf61325861b5c90c3ae106666fd54f.tar.gz
gnupg-f8d4768309cf61325861b5c90c3ae106666fd54f.zip
* configure.ac: Replacement function for timegm(). No need to check for
setenv() any longer.
Diffstat (limited to '')
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac4
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 <[email protected]>
+
+ * configure.ac: Replacement function for timegm(). No need to
+ check for setenv() any longer.
+
2004-05-20 David Shaw <[email protected]>
* 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 <signal.h>])
# See if getopt is in libiberty. This is of course not optimal since