diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-24 06:23:34 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-24 06:23:34 (GMT) |
commit | 8b96a694be11a88a8921d2296d5b12e6e077216f (patch) | |
tree | ece13624f983fcf713b437654694fa9ab70f6e59 /win | |
parent | cf90f82aa4b9f654552f8ed37e05d615311e7f57 (diff) | |
download | tcl-8b96a694be11a88a8921d2296d5b12e6e077216f.zip tcl-8b96a694be11a88a8921d2296d5b12e6e077216f.tar.gz tcl-8b96a694be11a88a8921d2296d5b12e6e077216f.tar.bz2 |
oops, fix cygwin check in configure
Diffstat (limited to 'win')
-rwxr-xr-x | win/configure | 8 | ||||
-rw-r--r-- | win/tcl.m4 | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/win/configure b/win/configure index 2cbdd29..a51b2ad 100755 --- a/win/configure +++ b/win/configure @@ -1276,7 +1276,7 @@ echo "configure:1260: checking compiler flags" >&5 extra_cflags="-pipe" extra_ldflags="-pipe" - if test "$ac_cv_cygwin" != "yes"; then + if test "$ac_cv_cygwin" = "yes"; then case "$do64bit" in amd64|x64|yes) CC="x86_64-w64-mingw32-gcc" @@ -1284,14 +1284,14 @@ echo "configure:1260: checking compiler flags" >&5 AR="x86_64-w64-mingw32-ar" RANLIB="x86_64-w64-mingw32-ranlib" RC="x86_64-w64-mingw32-windres" - ;; - *) + ;; + *) CC="i686-w64-mingw32-gcc" LD="i686-w64-mingw32-ld" AR="i686-w64-mingw32-ar" RANLIB="i686-w64-mingw32-ranlib" RC="i686-w64-mingw32-windres" - ;; + ;; esac fi @@ -461,7 +461,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ extra_cflags="-pipe" extra_ldflags="-pipe" - if test "$ac_cv_cygwin" != "yes"; then + if test "$ac_cv_cygwin" = "yes"; then case "$do64bit" in amd64|x64|yes) CC="x86_64-w64-mingw32-gcc" @@ -469,8 +469,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ AR="x86_64-w64-mingw32-ar" RANLIB="x86_64-w64-mingw32-ranlib" RC="x86_64-w64-mingw32-windres" - ;; - *) + ;; + *) CC="i686-w64-mingw32-gcc" LD="i686-w64-mingw32-ld" AR="i686-w64-mingw32-ar" |