From 2e82b095cd2ebd3ecc1635bb5cbe65eb99de7ae7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 27 Oct 2010 11:26:53 +0000 Subject: Better support unsigned time_t --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') 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 #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 -- cgit v1.2.3