diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-06-16 11:51:26 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-06-16 11:51:26 (GMT) |
commit | 8c50e685b1bb9cebcf69e1bc5af874a5f2898547 (patch) | |
tree | ef1421b309d8d1e8380266b493080c20f588cabf /win/tcl.m4 | |
parent | 351ef57494f19d3a4a4a00b0528bcc2bbcc1a82b (diff) | |
download | tk-8c50e685b1bb9cebcf69e1bc5af874a5f2898547.zip tk-8c50e685b1bb9cebcf69e1bc5af874a5f2898547.tar.gz tk-8c50e685b1bb9cebcf69e1bc5af874a5f2898547.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
@@ -553,6 +553,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 |