Fix configure.in to use AC_CHECK_TYPES instead of the "broken by design"
autoconf 2.13 version of AC_CHECK_TYPE. Otherwise, on some platforms
intptr_t might get erroneously #define'd to be long. (Addresses
Debian Bug #289133)
diff --git a/configure b/configure
index 73ae6f7..44e972d 100644
--- a/configure
+++ b/configure
@@ -13383,13 +13383,12 @@
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
if test $ac_cv_type_intptr_t = yes; then
- :
-else
cat >>confdefs.h <<_ACEOF
-#define intptr_t long
+#define HAVE_INTPTR_T 1
_ACEOF
+
fi
echo "$as_me:$LINENO: checking whether struct stat has a st_flags field" >&5