diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 13:46:34 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 13:46:34 (GMT) |
commit | 64cc29ed6aab1896476c91f4117507564db8beab (patch) | |
tree | 42cd5987cfd935b78f4d0ea5297658a6801eb248 /win/configure | |
parent | a1060b48b8483e5985842573cf1dd8a82a36af34 (diff) | |
download | tcl-64cc29ed6aab1896476c91f4117507564db8beab.zip tcl-64cc29ed6aab1896476c91f4117507564db8beab.tar.gz tcl-64cc29ed6aab1896476c91f4117507564db8beab.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings.
Reverse the detection of struct _stat32i64, otherwise when
mingw doesn't have it, tclTest.c cannot be compiled
Diffstat (limited to 'win/configure')
-rwxr-xr-x | win/configure | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/win/configure b/win/configure index 06c3dfe..1fe4dde 100755 --- a/win/configure +++ b/win/configure @@ -1265,8 +1265,8 @@ fi # Check to see if struct _stat32i64 exists in mingw's sys/stat.h -echo $ac_n "checking struct _stat32i64""... $ac_c" 1>&6 -echo "configure:1270: checking struct _stat32i64" >&5 +echo $ac_n "checking if struct _stat32i64 missing""... $ac_c" 1>&6 +echo "configure:1270: checking if struct _stat32i64 missing" >&5 if eval "test \"`echo '$''{'tcl_struct_stat32i64'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1285,12 +1285,12 @@ int main() { EOF if { (eval echo configure:1287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - tcl_struct_stat32i64=yes + tcl_struct_stat32i64=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - tcl_struct_stat32i64=no + tcl_struct_stat32i64=yes fi rm -f conftest* @@ -1299,7 +1299,7 @@ fi echo "$ac_t""$tcl_struct_stat32i64" 1>&6 if test "$tcl_struct_stat32i64" = "yes" ; then cat >> confdefs.h <<\EOF -#define HAVE_STRUCT_STAT32I64 1 +#define HAVE_NO_STRUCT_STAT32I64 1 EOF fi |