aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-02-20 15:11:57 +0000
committerDavid Shaw <[email protected]>2004-02-20 15:11:57 +0000
commit9fe66c89d84784c6374cc7f3b94bf72b519f33aa (patch)
treedc0556d5c5035adc0fd4e98a3ccd131e9158512d
parent* mkdtemp.c: New (moved from g10/), setenv.c: New, unsetenv.c: New. (diff)
downloadgnupg-9fe66c89d84784c6374cc7f3b94bf72b519f33aa.tar.gz
gnupg-9fe66c89d84784c6374cc7f3b94bf72b519f33aa.zip
* configure.ac: Check for timegm(). Replacement functions for setenv()
and unsetenv().
-rw-r--r--ChangeLog10
-rw-r--r--configure.ac4
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 64311319a..4060c4e3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-20 David Shaw <[email protected]>
+
+ * configure.ac: Check for timegm(). Replacement functions for
+ setenv() and unsetenv().
+
2004-02-19 David Shaw <[email protected]>
* configure.ac: Check for ln -s and add GPGKEYS_LDAP conditional,
@@ -1443,7 +1448,8 @@ Fri Feb 13 19:43:41 1998 Werner Koch ([email protected])
* Makefile.am: Likewise
- Copyright 1998,1999,2000,2001,2002,2003 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002, 2003,
+ 2004 Free Software Foundation, Inc.
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
@@ -1452,5 +1458,3 @@ Fri Feb 13 19:43:41 1998 Werner Koch ([email protected])
This file is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-
diff --git a/configure.ac b/configure.ac
index acf3a9242..dc8cf3e4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -747,11 +747,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)
+AC_CHECK_FUNCS(strcasecmp strncasecmp ctermid times timegm)
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)
+AC_REPLACE_FUNCS(mkdtemp setenv unsetenv)
AC_CHECK_TYPES([struct sigaction, sigset_t],,,[#include <signal.h>])
# See if getopt is in libiberty. This is of course not optimal since