diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-05-12 06:10:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-05-12 06:10:04 (GMT) |
commit | 236954a5f39053fabf83ec04bbcbcde15e3f3eb6 (patch) | |
tree | 5691c36c1312aa1fca04627a58b1ada81432313a /win/tcl.m4 | |
parent | f457d73c6c66e6b751cd6bc28efd8a88f56daadc (diff) | |
parent | 8914432bfa2957d9abadd6f508a697ce3231d7f4 (diff) | |
download | tcl-236954a5f39053fabf83ec04bbcbcde15e3f3eb6.zip tcl-236954a5f39053fabf83ec04bbcbcde15e3f3eb6.tar.gz tcl-236954a5f39053fabf83ec04bbcbcde15e3f3eb6.tar.bz2 |
If your compiler already defines _WIN64, assume --enable-64bit
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 |