diff options
author | dgp <dgp@users.sourceforge.net> | 2019-08-26 16:10:24 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2019-08-26 16:10:24 (GMT) |
commit | 278477fcd715af6d961ff506e2a830c4c0cc5752 (patch) | |
tree | aeb4cc8666c2be2f6fe5fa54f31ecac8600e95cf /win/configure.ac | |
parent | eb64fc3dacd29b2f3eb22b01ed9797103672d4aa (diff) | |
parent | bf62089e129be0a5a41d20eb86b8f73c9829f7a3 (diff) | |
download | tcl-278477fcd715af6d961ff506e2a830c4c0cc5752.zip tcl-278477fcd715af6d961ff506e2a830c4c0cc5752.tar.gz tcl-278477fcd715af6d961ff506e2a830c4c0cc5752.tar.bz2 |
merge 8.7
Diffstat (limited to 'win/configure.ac')
-rw-r--r-- | win/configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/win/configure.ac b/win/configure.ac index 7077045..b46835c 100644 --- a/win/configure.ac +++ b/win/configure.ac @@ -92,6 +92,20 @@ SC_TCL_CFG_ENCODING SC_ENABLE_SHARED #-------------------------------------------------------------------- +# Check whether --enable-time64bit was given. +#-------------------------------------------------------------------- + +AC_MSG_CHECKING([force of 64-bit time_t]) +AC_ARG_ENABLE(time64bit, + AC_HELP_STRING([--enable-time64bit], + [force 64-bit time_t for 32-bit build (default: off)]), + [tcl_ok=$enableval], [tcl_ok=no]) +AC_MSG_RESULT("$tcl_ok") +if test "$tcl_ok" = "yes"; then + CFLAGS="${CFLAGS} -D_USE_64BIT_TIME_T" +fi + +#-------------------------------------------------------------------- # The statements below define a collection of compile flags. This # macro depends on the value of SHARED_BUILD, and should be called # after SC_ENABLE_SHARED checks the configure switches. |