summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-07 08:45:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-07 08:45:06 (GMT)
commitdbae7c51f1b2d97b6262237c6cda031a6468e2b4 (patch)
tree532a7cdaabf6da9dfe3cbb114672c977b89788a4 /win/tcl.m4
parent7b1d345686119335c547557b1029df64b0d3c5c5 (diff)
parent8f8b424c15d02d04e3289418b601c7443c1c6f27 (diff)
downloadtcl-dbae7c51f1b2d97b6262237c6cda031a6468e2b4.zip
tcl-dbae7c51f1b2d97b6262237c6cda031a6468e2b4.tar.gz
tcl-dbae7c51f1b2d97b6262237c6cda031a6468e2b4.tar.bz2
Add support for windows-arm platform
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 00cd4d2..e2117d2 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -783,9 +783,13 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
MACHINE="AMD64" ; # assume AMD64 as default 64-bit build
AC_MSG_RESULT([ Using 64-bit $MACHINE mode])
;;
+ arm64)
+ MACHINE="ARM64"
+ AC_MSG_RESULT([ Using ARM64 $MACHINE mode])
+ ;;
ia64)
MACHINE="IA64"
- AC_MSG_RESULT([ Using 64-bit $MACHINE mode])
+ AC_MSG_RESULT([ Using IA64 $MACHINE mode])
;;
*)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
@@ -837,6 +841,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
amd64|x64|yes)
MACHINE="AMD64" ; # assume AMD64 as default 64-bit build
;;
+ arm64)
+ MACHINE="ARM64"
+ ;;
ia64)
MACHINE="IA64"
;;