summaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-03 16:46:00 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-03 16:46:00 +0000
commit60b8aedaf675746fa97711694ff868889b1acf7e (patch)
tree4f84a6682bd1aaed5aa99472dceeb58546c9315f /libiberty/configure.ac
parent8c3c665582f99fd2a54866b54f219dc1df572cad (diff)
downloadgcc-60b8aedaf675746fa97711694ff868889b1acf7e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151386 138bc75d-0d04-0410-961f-82ee72b054a4
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 f01d518e5e4..c34fc10b81b 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.