diff options
author | Paul Graham <development@winomega.com> | 2017-02-15 23:04:04 +0100 |
---|---|---|
committer | Paul Graham <development@winomega.com> | 2017-02-15 23:04:04 +0100 |
commit | b2b47a7d113c2ac0e574ea4c3528780c30ef1aab (patch) | |
tree | d4b2c836de7a47a49fe539e2cd99966a0a6bd58b /configure.ac | |
parent | 9d75e5ea975fc6d1b8b6eb333416d76144f7d2ee (diff) | |
download | portable-b2b47a7d113c2ac0e574ea4c3528780c30ef1aab.tar.gz portable-b2b47a7d113c2ac0e574ea4c3528780c30ef1aab.tar.bz2 portable-b2b47a7d113c2ac0e574ea4c3528780c30ef1aab.zip |
Document 32-bit time_t problem on minw-w64 toolchain and how to avoid it
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index eecfb41..42bbca3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -142,6 +142,14 @@ AM_CONDITIONAL([SMALL_TIME_T], [test "$ac_cv_sizeof_time_t" = "4"]) | |||
142 | if test "$ac_cv_sizeof_time_t" = "4"; then | 142 | if test "$ac_cv_sizeof_time_t" = "4"; then |
143 | echo " ** Warning, this system is unable to represent times past 2038" | 143 | echo " ** Warning, this system is unable to represent times past 2038" |
144 | echo " ** It will behave incorrectly when handling valid RFC5280 dates" | 144 | echo " ** It will behave incorrectly when handling valid RFC5280 dates" |
145 | |||
146 | if test "$host_os" = "mingw32" ; then | ||
147 | echo " **" | ||
148 | echo " ** You can solve this by adjusting the build flags in your" | ||
149 | echo " ** mingw-w64 toolchain. Refer to README.windows for details." | ||
150 | fi | ||
151 | |||
152 | exit 1 | ||
145 | fi | 153 | fi |
146 | 154 | ||
147 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) | 155 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) |