diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-06-16 11:55:19 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2011-06-16 11:55:19 (GMT) |
commit | 207513ab6fe015e2261a06ad5b44bdcb6f653afa (patch) | |
tree | 2077c3d41a7cac7d079efb65bd81292bee0f2a81 /win/tcl.m4 | |
parent | 58323f751798b9cee290a04b5e37cce86e914e77 (diff) | |
parent | d8904c3c31e8d884895053850c7cf245d247a93a (diff) | |
download | tk-207513ab6fe015e2261a06ad5b44bdcb6f653afa.zip tk-207513ab6fe015e2261a06ad5b44bdcb6f653afa.tar.gz tk-207513ab6fe015e2261a06ad5b44bdcb6f653afa.tar.bz2 |
Sync with win/tcl.m4 from Tcl
FossilOrigin-Name: 90727609ba47f371ca6874dfcc2fd271593ea7fa
Diffstat (limited to 'win/tcl.m4')
-rw-r--r-- | win/tcl.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -557,6 +557,21 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ MACHINE="IA64" AC_MSG_RESULT([ Using 64-bit $MACHINE mode]) ;; + *) + AC_TRY_COMPILE([ + #ifdef _WIN64 + #error 64-bit + #endif + ], [], + tcl_win_64bit=no, + tcl_win_64bit=yes + ) + if test "$tcl_win_64bit" = "yes" ; then + do64bit=amd64 + MACHINE="AMD64" + AC_MSG_RESULT([ Using 64-bit $MACHINE mode]) + fi + ;; esac else if test "${SHARED_BUILD}" = "0" ; then |