summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-03-28 21:16:14 (GMT)
committerhobbs <hobbs>2006-03-28 21:16:14 (GMT)
commite1c9b0eb2828b894d2147f52b81296b152627037 (patch)
treee5c19567055674d1f47b9d317b738585d9ac51e4 /win/tcl.m4
parentf638753efec7adcf11837b37fb6d95fbd44f6ea9 (diff)
downloadtcl-e1c9b0eb2828b894d2147f52b81296b152627037.zip
tcl-e1c9b0eb2828b894d2147f52b81296b152627037.tar.gz
tcl-e1c9b0eb2828b894d2147f52b81296b152627037.tar.bz2
* win/configure, win/tcl.m4: define MACHINE for gcc builds as well.
Needed by Tk for manifest generation.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 975ac18..3e8d5c8 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -392,6 +392,10 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_SUFFIX=".dll"
+ # MACHINE is IX86 for LINK, but this is used by the manifest,
+ # which requires x86|amd64|ia64.
+ MACHINE="X86"
+
# Check for a bug in gcc's windres that causes the
# compile to fail when a Windows native path is
# passed into windres. The mingw toolchain requires
@@ -568,9 +572,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
# This is a 2-stage check to make sure we have the 64-bit SDK
# We have to know where the SDK is installed.
# This magic is based on MS Platform SDK for Win2003 SP1 - hobbs
- # MACHINE is IX86 for LINK, but this is used by the manifest,
- # which requires x86|amd64|ia64.
- MACHINE="X86"
if test "$do64bit" != "no" ; then
if test "x${MSSDK}x" = "xx" ; then
MSSDK="C:/Progra~1/Microsoft Platform SDK"