summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-24 06:23:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-24 06:23:34 (GMT)
commit53f74043116ba7e4046f811afc1683340111a767 (patch)
treeece13624f983fcf713b437654694fa9ab70f6e59
parent05de6a1fa1515836db597e22c308ac954ae8b2bb (diff)
downloadtcl-53f74043116ba7e4046f811afc1683340111a767.zip
tcl-53f74043116ba7e4046f811afc1683340111a767.tar.gz
tcl-53f74043116ba7e4046f811afc1683340111a767.tar.bz2
oops, fix cygwin check in configure
-rwxr-xr-xwin/configure8
-rw-r--r--win/tcl.m46
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
diff --git a/win/tcl.m4 b/win/tcl.m4
index 794b38e..8ac0a15 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -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"