aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-10-27 11:26:53 +0000
committerWerner Koch <[email protected]>2010-10-27 11:26:53 +0000
commit2e82b095cd2ebd3ecc1635bb5cbe65eb99de7ae7 (patch)
treeb87aea270583496526aff9f82b927f6298662451 /configure.ac
parentHonor TMPDIR. (diff)
downloadgnupg-2e82b095cd2ebd3ecc1635bb5cbe65eb99de7ae7.tar.gz
gnupg-2e82b095cd2ebd3ecc1635bb5cbe65eb99de7ae7.zip
Better support unsigned time_t
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cc13a13c0..0bb69d2f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1160,6 +1160,7 @@ AC_CHECK_SIZEOF(unsigned short)
AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_SIZEOF(unsigned long)
AC_CHECK_SIZEOF(unsigned long long)
+AC_HEADER_TIME
AC_CHECK_SIZEOF(time_t,,[[
#include <stdio.h>
#if TIME_WITH_SYS_TIME
@@ -1173,6 +1174,7 @@ AC_CHECK_SIZEOF(time_t,,[[
# endif
#endif
]])
+GNUPG_TIME_T_UNSIGNED
# Ensure that we have UINT64_C before we bother to check for uint64_t