summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-06-16 11:51:26 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-06-16 11:51:26 (GMT)
commitd8904c3c31e8d884895053850c7cf245d247a93a (patch)
treeef1421b309d8d1e8380266b493080c20f588cabf /win/tcl.m4
parent2d58d451920370e2e600be07a7eea0de6f0bbbd5 (diff)
downloadtk-d8904c3c31e8d884895053850c7cf245d247a93a.zip
tk-d8904c3c31e8d884895053850c7cf245d247a93a.tar.gz
tk-d8904c3c31e8d884895053850c7cf245d247a93a.tar.bz2
Sync with win/tcl.m4 from Tcl
FossilOrigin-Name: e5c3146cc4d582aea0a5a9ad44b18da3088f0791
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 a766b7c..26a7036 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -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