diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-09-03 16:46:55 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-09-03 16:46:55 +0000 |
commit | fca6a796b7fafc1254c61fb2bf36e1bd8893eef8 (patch) | |
tree | 192dc8e01d1eecc17ba900f5a76f30a4364aaddb /libiberty/configure | |
parent | bd03da308991692d9e3f7c60135f811f11f65e49 (diff) | |
download | gdb-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')
-rwxr-xr-x | libiberty/configure | 11 |
1 files changed, 11 insertions, 0 deletions
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 : |