summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2005-12-10 01:38:09 (GMT)
committermdejong <mdejong>2005-12-10 01:38:09 (GMT)
commit643ec9cd35a3cafd941f95d5cdbe625acdbf66bc (patch)
tree8a6ad66f092c9afec03532ba225c805889d3b7cb /win/tcl.m4
parentb869da66f29c3c5239c5ac4a0709507483871152 (diff)
downloadtk-643ec9cd35a3cafd941f95d5cdbe625acdbf66bc.zip
tk-643ec9cd35a3cafd941f95d5cdbe625acdbf66bc.tar.gz
tk-643ec9cd35a3cafd941f95d5cdbe625acdbf66bc.tar.bz2
* win/configure: Regen.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The lack of a definition of this variable in the manifest file was causing a runtime error in wish built with gcc.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index e0598bc..b37c626 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -552,6 +552,9 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
#LDFLAGS_WINDOW="-mwindows -e _WinMain@16 ${extra_ldflags}"
LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}"
LDFLAGS_WINDOW="-mwindows ${extra_ldflags}"
+
+ # gcc under Windows supports only 32bit builds
+ MACHINE="X86"
else
if test "${SHARED_BUILD}" = "0" ; then
# static