diff options
author | mdejong <mdejong> | 2005-12-10 01:38:09 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2005-12-10 01:38:09 (GMT) |
commit | 643ec9cd35a3cafd941f95d5cdbe625acdbf66bc (patch) | |
tree | 8a6ad66f092c9afec03532ba225c805889d3b7cb | |
parent | b869da66f29c3c5239c5ac4a0709507483871152 (diff) | |
download | tk-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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | win/configure | 3 | ||||
-rw-r--r-- | win/tcl.m4 | 3 |
3 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2005-12-09 Mo DeJong <mdejong@users.sourceforge.net> + + * 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. + 2005-12-09 Daniel Steffen <das@users.sourceforge.net> * generic/tkInt.decls: move all platform test sources from tk lib into diff --git a/win/configure b/win/configure index 3f077f3..8e28945 100755 --- a/win/configure +++ b/win/configure @@ -2842,6 +2842,9 @@ echo "$as_me: error: ${CC} does not support the -shared option. #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 @@ -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 |