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 | fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f (patch) | |
tree | 42cd5987cfd935b78f4d0ea5297658a6801eb248 /win/configure | |
parent | 092dd70e63fd7c5fcc9526b06c1242322378d492 (diff) | |
download | tcl-fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f.zip tcl-fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f.tar.gz tcl-fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f.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 |