summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-18 14:09:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-18 14:09:29 (GMT)
commit26a2b3870b33fc49f32b2111f5549ec63e567a42 (patch)
tree24fcc2f2b01a343fe7df6f487ecc35b26965230e /win/configure
parent614a21b1bd7bd9b917eacfae8d9e6bd4d18b20d1 (diff)
parent2215f74b2d17277debc1a66ee7c2d14c54e33638 (diff)
downloadtcl-26a2b3870b33fc49f32b2111f5549ec63e567a42.zip
tcl-26a2b3870b33fc49f32b2111f5549ec63e567a42.tar.gz
tcl-26a2b3870b33fc49f32b2111f5549ec63e567a42.tar.bz2
Merge 8.7
Diffstat (limited to 'win/configure')
-rwxr-xr-xwin/configure97
1 files changed, 7 insertions, 90 deletions
diff --git a/win/configure b/win/configure
index 23ea234..94d7085 100755
--- a/win/configure
+++ b/win/configure
@@ -4994,113 +4994,30 @@ fi
printf "%s\n" "#define HAVE_ZLIB 1" >>confdefs.h
-ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
+ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "
+#include <stdint.h>
+
+"
if test "x$ac_cv_type_intptr_t" = xyes
then :
-
printf "%s\n" "#define HAVE_INTPTR_T 1" >>confdefs.h
-else $as_nop
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pointer-size signed integer type" >&5
-printf %s "checking for pointer-size signed integer type... " >&6; }
-if test ${tcl_cv_intptr_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
-
- for tcl_cv_intptr_t in "int" "long" "long long" none; do
- if test "$tcl_cv_intptr_t" != none; then
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_includes_default
-int
-main (void)
-{
-static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))];
-test_array [0] = 0;
-return test_array [0];
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- tcl_ok=yes
-else $as_nop
- tcl_ok=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- test "$tcl_ok" = yes && break; fi
- done
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_intptr_t" >&5
-printf "%s\n" "$tcl_cv_intptr_t" >&6; }
- if test "$tcl_cv_intptr_t" != none; then
-
-printf "%s\n" "#define intptr_t $tcl_cv_intptr_t" >>confdefs.h
-
- fi
fi
+ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "
+#include <stdint.h>
-ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
+"
if test "x$ac_cv_type_uintptr_t" = xyes
then :
-
printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h
-else $as_nop
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pointer-size unsigned integer type" >&5
-printf %s "checking for pointer-size unsigned integer type... " >&6; }
-if test ${tcl_cv_uintptr_t+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
-
- for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
- none; do
- if test "$tcl_cv_uintptr_t" != none; then
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$ac_includes_default
-int
-main (void)
-{
-static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))];
-test_array [0] = 0;
-return test_array [0];
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"
-then :
- tcl_ok=yes
-else $as_nop
- tcl_ok=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- test "$tcl_ok" = yes && break; fi
- done
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_uintptr_t" >&5
-printf "%s\n" "$tcl_cv_uintptr_t" >&6; }
- if test "$tcl_cv_uintptr_t" != none; then
-
-printf "%s\n" "#define uintptr_t $tcl_cv_uintptr_t" >>confdefs.h
-
- fi
fi
-
#--------------------------------------------------------------------
# Zipfs support - Tip 430
#--------------------------------------------------------------------