From fca6a796b7fafc1254c61fb2bf36e1bd8893eef8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 3 Sep 2009 16:46:55 +0000 Subject: 2009-09-03 Ozkan Sezer 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. --- libiberty/configure | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libiberty/configure') diff --git a/libiberty/configure b/libiberty/configure index 4a04e1f..9463f8f 100755 --- a/libiberty/configure +++ b/libiberty/configure @@ -5046,6 +5046,17 @@ _ACEOF +ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default" +if test "x$ac_cv_type_intptr_t" = x""yes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define intptr_t long +_ACEOF + +fi + ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" if test "x$ac_cv_type_uintptr_t" = x""yes; then : -- cgit v1.1