summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-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"