diff options
author | Brent Cook <bcook@openbsd.org> | 2017-08-14 12:15:00 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-08-14 12:15:00 -0500 |
commit | 7dc68c82bcb64469b13936b9895212ea42b97550 (patch) | |
tree | d78641c97d541b9d97657c32257b26b5bd4de172 /configure.ac | |
parent | 4916f940c8fe7453db50de49da6fbc8bd1a0fefd (diff) | |
download | portable-7dc68c82bcb64469b13936b9895212ea42b97550.tar.gz portable-7dc68c82bcb64469b13936b9895212ea42b97550.tar.bz2 portable-7dc68c82bcb64469b13936b9895212ea42b97550.zip |
set SMALL_TIME_T when sizeof time_t == 4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6f98b3e..384a2b6 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -134,6 +134,7 @@ AC_CONFIG_FILES([ | |||
134 | 134 | ||
135 | AM_CONDITIONAL([SMALL_TIME_T], [test "$ac_cv_sizeof_time_t" = "4"]) | 135 | AM_CONDITIONAL([SMALL_TIME_T], [test "$ac_cv_sizeof_time_t" = "4"]) |
136 | if test "$ac_cv_sizeof_time_t" = "4"; then | 136 | if test "$ac_cv_sizeof_time_t" = "4"; then |
137 | AC_DEFINE([SMALL_TIME_T]) | ||
137 | echo " ** Warning, this system is unable to represent times past 2038" | 138 | echo " ** Warning, this system is unable to represent times past 2038" |
138 | echo " ** It will behave incorrectly when handling valid RFC5280 dates" | 139 | echo " ** It will behave incorrectly when handling valid RFC5280 dates" |
139 | 140 | ||