summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:51:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:51:21 (GMT)
commit788d06fcf3f90ffe105c77b3230be4f3fc1a62bd (patch)
treee86275675b2923b5745266c49a2cb0948a7d71a6 /win/configure
parentad9424f909976ade314404a44168e5c0eca6983e (diff)
parentfd1dbc086751dff48dbbbd4012e5f5ac0f46b06f (diff)
downloadtcl-788d06fcf3f90ffe105c77b3230be4f3fc1a62bd.zip
tcl-788d06fcf3f90ffe105c77b3230be4f3fc1a62bd.tar.gz
tcl-788d06fcf3f90ffe105c77b3230be4f3fc1a62bd.tar.bz2
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-xwin/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/configure b/win/configure
index 174ad68..7ff7248 100755
--- a/win/configure
+++ b/win/configure
@@ -3552,8 +3552,8 @@ fi
# Check to see if struct _stat32i64 exists in mingw's sys/stat.h
-echo "$as_me:$LINENO: checking struct _stat32i64" >&5
-echo $ECHO_N "checking struct _stat32i64... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking if struct _stat32i64 missing" >&5
+echo $ECHO_N "checking if struct _stat32i64 missing... $ECHO_C" >&6
if test "${tcl_struct_stat32i64+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -3599,12 +3599,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- tcl_struct_stat32i64=yes
+ tcl_struct_stat32i64=no
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-tcl_struct_stat32i64=no
+tcl_struct_stat32i64=yes
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
@@ -3614,7 +3614,7 @@ echo "${ECHO_T}$tcl_struct_stat32i64" >&6
if test "$tcl_struct_stat32i64" = "yes" ; then
cat >>confdefs.h <<\_ACEOF
-#define HAVE_STRUCT_STAT32I64 1
+#define HAVE_NO_STRUCT_STAT32I64 1
_ACEOF
fi