summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-06-16 11:55:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-06-16 11:55:19 (GMT)
commitfbcd87e044a689ee654c0848842691e3c871730d (patch)
tree2077c3d41a7cac7d079efb65bd81292bee0f2a81 /win/tcl.m4
parent4786156306bcb3c0800108b508b32ad99332fd54 (diff)
parent8c50e685b1bb9cebcf69e1bc5af874a5f2898547 (diff)
downloadtk-fbcd87e044a689ee654c0848842691e3c871730d.zip
tk-fbcd87e044a689ee654c0848842691e3c871730d.tar.gz
tk-fbcd87e044a689ee654c0848842691e3c871730d.tar.bz2
Sync with win/tcl.m4 from Tcl
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index be22fac..83a4ea3 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -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