summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-01-09 00:57:45 -0500
committerTheodore Ts'o <tytso@mit.edu>2005-01-09 00:57:45 -0500
commitd2ee56d86eec86acec055f235dab8f1b6569a360 (patch)
tree381efe640cea85c1d2a9bc5c503eeeb70a908c87 /configure
parentc840731ea57daa60ea6a59da9610508514326b89 (diff)
downloade2fsprogs-d2ee56d86eec86acec055f235dab8f1b6569a360.tar.gz
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)
Diffstat (limited to 'configure')
-rw-r--r--configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 73ae6f7b..44e972d1 100644
--- a/configure
+++ b/configure
@@ -13383,13 +13383,12 @@ fi
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