summaryrefslogtreecommitdiffstats
path: root/win/configure.ac
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-07-12 12:18:00 (GMT)
committersebres <sebres@users.sourceforge.net>2019-07-12 12:18:00 (GMT)
commiteb8924753ecc939c45fa78ca5f3f854e213f5f01 (patch)
tree3c71aa612fba891410acd982ac3278a4683eb85f /win/configure.ac
parentb2b3391857e3e0d0c9ad4805b07168c2caf29333 (diff)
parent30fc501320ef1a28a3f8630f1beabfce3a8f69f0 (diff)
downloadtcl-eb8924753ecc939c45fa78ca5f3f854e213f5f01.zip
tcl-eb8924753ecc939c45fa78ca5f3f854e213f5f01.tar.gz
tcl-eb8924753ecc939c45fa78ca5f3f854e213f5f01.tar.bz2
merge 8.6, integrate branch bug-4718b41c56, rebuild win/configure, conflicts resolved (nothreads not available for 8.7)
Diffstat (limited to 'win/configure.ac')
-rw-r--r--win/configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/win/configure.ac b/win/configure.ac
index 7b63c61..82d713a 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.