diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-03-30 15:12:06 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-03-30 15:12:06 (GMT) |
commit | 8fe977fad6fdb424e59936561a4b4f3c4b0cec08 (patch) | |
tree | ea75cc65b01fe90311c2f2393ab4261735b1d6a4 /win/configure.in | |
parent | df276ced1ac0a39f49398239cc767a9428da3a40 (diff) | |
parent | 2b1759de2dacf53faa36ca79f42b64bec2df1f39 (diff) | |
download | tk-8fe977fad6fdb424e59936561a4b4f3c4b0cec08.zip tk-8fe977fad6fdb424e59936561a4b4f3c4b0cec08.tar.gz tk-8fe977fad6fdb424e59936561a4b4f3c4b0cec08.tar.bz2 |
[Bug 3511806] Compiler checks too early
(autoconf still to be run!)
Diffstat (limited to 'win/configure.in')
-rw-r--r-- | win/configure.in | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/win/configure.in b/win/configure.in index 7570b17..65f287a 100644 --- a/win/configure.in +++ b/win/configure.in @@ -55,32 +55,6 @@ AC_CHECK_TOOL(RC, windres) AC_PROG_MAKE_SET #-------------------------------------------------------------------- -# Perform additinal compiler tests. -#-------------------------------------------------------------------- - -dnl Currently AC_CYGWIN is disabled since it invokes AC_CANONICAL_HOST -dnl under autoconf 2.5X. -dnl -dnl AC_CYGWIN - -AC_CACHE_CHECK(for Cygwin version of gcc, - ac_cv_cygwin, -AC_TRY_COMPILE([ -#ifdef __CYGWIN__ -#error cygwin -#endif -], -[], - ac_cv_cygwin=no, - ac_cv_cygwin=yes) -) -if test "$ac_cv_cygwin" = "yes" ; then - AC_MSG_ERROR([Compiling under Cygwin is not currently supported. -A maintainer for the Cygwin port of Tcl/Tk is needed. See the README -file for information about building with Mingw.]) -fi - -#-------------------------------------------------------------------- # Determines the correct binary file extension (.o, .obj, .exe etc.) #-------------------------------------------------------------------- @@ -119,11 +93,11 @@ AC_SUBST(MAN2TCLFLAGS) # Check for _strtoi64 #------------------------------------------- -AC_CACHE_CHECK([availability of _strtoi64], tcl_have_strtoi64, [ +AC_CACHE_CHECK([availability of _strtoi64], tcl_cv_strtoi64, [ AC_TRY_LINK([#include <stdlib.h>], [_strtoi64(0,0,0)], - tcl_have_strtoi64=yes, tcl_have_strtoi64=no)]) -if test $tcl_have_strtoi64 = no; then + tcl_cv_strtoi64=yes, tcl_cv_strtoi64=no)]) +if test $tcl_cv_strtoi64 = no; then AC_DEFINE(NO_STRTOI64, 1, [Is _strtoi64 function available?]) fi |