aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-09-03 16:46:55 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-09-03 16:46:55 +0000
commitfca6a796b7fafc1254c61fb2bf36e1bd8893eef8 (patch)
tree192dc8e01d1eecc17ba900f5a76f30a4364aaddb /libiberty/configure.ac
parentbd03da308991692d9e3f7c60135f811f11f65e49 (diff)
downloadgdb-fca6a796b7fafc1254c61fb2bf36e1bd8893eef8.zip
gdb-fca6a796b7fafc1254c61fb2bf36e1bd8893eef8.tar.gz
gdb-fca6a796b7fafc1254c61fb2bf36e1bd8893eef8.tar.bz2
2009-09-03 Ozkan Sezer <sezeroz@gmail.com>
PR target/39065 * configure.ac: Also check for intptr_t. * config.h.in: Regenerated. * configure: Regenerated. * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t instead of of long.
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r--libiberty/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac
index f01d518..c34fc10 100644
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -254,6 +254,7 @@ libiberty_AC_DECLARE_ERRNO
# Determine the size of an int for struct fibnode.
AC_CHECK_SIZEOF([int])
+AC_CHECK_TYPE(intptr_t, long)
AC_CHECK_TYPE(uintptr_t, unsigned long)
# Look for a 64-bit type.