summaryrefslogtreecommitdiff
path: root/libiberty/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2009-09-03 16:46:55 +0000
committerH.J. Lu <hjl@lucon.org>2009-09-03 16:46:55 +0000
commit30b3aa8407f138674529e829fc6d5008ec370b65 (patch)
treec652d4a65642f36975426f90fbdafe16f6ac434b /libiberty/configure
parent3fa28118f6be430121d6251a3f3f508bc742b815 (diff)
downloadbinutils-redhat-30b3aa8407f138674529e829fc6d5008ec370b65.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.
Diffstat (limited to 'libiberty/configure')
-rwxr-xr-xlibiberty/configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/libiberty/configure b/libiberty/configure
index 4a04e1f079..9463f8f506 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 :