+2005-01-09 Theodore Ts'o <tytso@mit.edu>
+
+ * configure.in: Use AC_CHECK_TYPES instead of the autoconf 2.13
+ "broken by design" AC_CHECK_TYPE to look for intptr_t.
+
2004-12-14 Theodore Ts'o <tytso@mit.edu>
* Makefile.in: Add install-strip and install-shlibs-strip targets
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
dnl See if we have inttypes.h and if intptr_t is defined
dnl
AC_CHECK_HEADERS([inttypes.h])
-AC_CHECK_TYPE(intptr_t,long)
+AC_CHECK_TYPES(intptr_t)
dnl
dnl See if struct stat has a st_flags field, in which case we can get file
dnl flags somewhat portably. Also check for the analogous setter, chflags().
+2005-01-09 Theodore Ts'o <tytso@mit.edu>
+
+ * pass1b.c: As part of converting configure.in from using the
+ "broken by design" 2.13 version of AC_CHECK_TYPE to
+ AC_CHECK_TYPES, if intptr_t isn't defined, manually
+ typedef it to long. (Addresses Debian Bug #289133)
+
2005-01-06 Theodore Ts'o <tytso@mit.edu>
* super.c (check_resize_inode): Use ext2fs_{read,write}_ind_block
#include <inttypes.h>
#endif
+#ifndef HAVE_INTPTR_T
+typedef long intptr_t
+#endif
+
/* Needed for architectures where sizeof(int) != sizeof(void *) */
#define INT_TO_VOIDPTR(val) ((void *)(intptr_t)(val))
#define VOIDPTR_TO_INT(ptr) ((int)(intptr_t)(ptr))