diff options
Diffstat (limited to 'win/tcl.m4')
-rw-r--r-- | win/tcl.m4 | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -408,18 +408,18 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ # which requires x86|amd64|ia64. MACHINE="X86" - AC_CACHE_CHECK(for Cygwin version of gcc, - ac_cv_cygwin, + AC_CACHE_CHECK(for cross-compile version of gcc, + ac_cv_cross, AC_TRY_COMPILE([ - #ifdef __CYGWIN__ - #error cygwin + #ifdef __WIN32__ + #error cross-compiler #endif ], [], - ac_cv_cygwin=no, - ac_cv_cygwin=yes) + ac_cv_cross=yes, + ac_cv_cross=no) ) - if test "$ac_cv_cygwin" = "yes"; then + if test "$ac_cv_cross" = "yes"; then case "$do64bit" in amd64|x64|yes) CC="x86_64-w64-mingw32-gcc" |