diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-07-01 12:39:28 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-02 12:44:12 +0200 |
commit | d788d6225662e7d5e56ef8aa6ca962b840b6d3e9 (patch) | |
tree | 53f7495e59ee6c6bbd1663c13d1599b0dd968838 /configure.ac | |
parent | f1ef12ffa7d7ea18f035fa53163b12b5d694bf5b (diff) | |
download | gnutls-d788d6225662e7d5e56ef8aa6ca962b840b6d3e9.tar.gz |
tests: check explicitly the size of time_t
Previously we were disabling the 2038 tests on 32-bit systems,
but there can be 32-bit systems with a 64-bit time_t. Ensure
that we run the right tests.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 548abbeebd..c328ff7213 100644 --- a/configure.ac +++ b/configure.ac @@ -739,9 +739,10 @@ AC_CHECK_TYPE(ssize_t, # For minitasn1. AC_CHECK_SIZEOF(unsigned long int, 4) AC_CHECK_SIZEOF(unsigned int, 4) +AC_CHECK_SIZEOF(time_t, 4) # export for use in scripts -AC_SUBST(ac_cv_sizeof_unsigned_long_int) +AC_SUBST(ac_cv_sizeof_time_t) AC_SUBST(GNUTLS_REQUIRES_PRIVATE) |