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 | |
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')
-rwxr-xr-x | win/configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/win/configure b/win/configure index c36e51d..34fd5b3 100755 --- a/win/configure +++ b/win/configure @@ -778,6 +778,7 @@ ac_user_opts=' enable_option_checking with_encoding enable_shared +enable_time64bit enable_64bit enable_zipfs enable_symbols @@ -1400,6 +1401,7 @@ Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-shared build and link with shared libraries (default: on) + --enable-time64bit force 64-bit time_t for 32-bit build (default: off) --enable-64bit enable 64bit support (where applicable) --enable-zipfs build with Zipfs support (default: on) --enable-symbols build with debugging symbols (default: off) @@ -3749,6 +3751,25 @@ $as_echo "#define STATIC_BUILD 1" >>confdefs.h #-------------------------------------------------------------------- +# Check whether --enable-time64bit was given. +#-------------------------------------------------------------------- + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking force of 64-bit time_t" >&5 +$as_echo_n "checking force of 64-bit time_t... " >&6; } +# Check whether --enable-time64bit was given. +if test "${enable_time64bit+set}" = set; then : + enableval=$enable_time64bit; tcl_ok=$enableval +else + tcl_ok=no +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$tcl_ok\"" >&5 +$as_echo "\"$tcl_ok\"" >&6; } +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. |