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)
commit8b96a694be11a88a8921d2296d5b12e6e077216f (patch)
treeece13624f983fcf713b437654694fa9ab70f6e59
parentcf90f82aa4b9f654552f8ed37e05d615311e7f57 (diff)
downloadtcl-8b96a694be11a88a8921d2296d5b12e6e077216f.zip
tcl-8b96a694be11a88a8921d2296d5b12e6e077216f.tar.gz
tcl-8b96a694be11a88a8921d2296d5b12e6e077216f.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"