diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-06-16 11:57:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-06-16 11:57:07 (GMT) |
commit | 12efa830f66d02509c99edcf8843347c8ec2487d (patch) | |
tree | 3f749d5a28074e849594afa30d12e46baef02d9d /win/tcl.m4 | |
parent | 0917075f648253085f5ee2fb1cefa25a6c66f632 (diff) | |
parent | fbcd87e044a689ee654c0848842691e3c871730d (diff) | |
download | tk-12efa830f66d02509c99edcf8843347c8ec2487d.zip tk-12efa830f66d02509c99edcf8843347c8ec2487d.tar.gz tk-12efa830f66d02509c99edcf8843347c8ec2487d.tar.bz2 |
Sync with win/tcl.m4 from Tcl
Diffstat (limited to 'win/tcl.m4')
-rw-r--r-- | win/tcl.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -589,6 +589,21 @@ file for information about building with Mingw.]) 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 |