diff options
author | Ozkan Sezer <sezeroz@gmail.com> | 2009-09-04 14:33:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2009-09-04 07:33:16 -0700 |
commit | 0e497905ceeb7bdb724aee3027e09ba32ec80e25 (patch) | |
tree | 2c388d6661dfc9985b529fd452d81632a23bad4e /libiberty/configure.ac | |
parent | 22fc64b4d9a300216a82f2160ffbac6fec872f16 (diff) | |
download | gcc-0e497905ceeb7bdb724aee3027e09ba32ec80e25.tar.gz |
re PR target/39065 (libiberty hashtab.c:hash_pointer() needs intptr_t)
2009-09-04 Ozkan Sezer <sezeroz@gmail.com>
PR target/39065
* configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
* config.in: Regenerated.
* configure: Regenerated.
From-SVN: r151423
Diffstat (limited to 'libiberty/configure.ac')
-rw-r--r-- | libiberty/configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/configure.ac b/libiberty/configure.ac index c34fc10b81b..00dd68dcef2 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -254,9 +254,6 @@ 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. AC_MSG_CHECKING([for a 64-bit type]) AC_CACHE_VAL(liberty_cv_uint64, @@ -290,6 +287,9 @@ if test "$liberty_cv_uint64" != none; then [Define to an unsigned 64-bit type available in the compiler.]) fi +AC_TYPE_INTPTR_T +AC_TYPE_UINTPTR_T + # Given the above check, we always have uintptr_t or a fallback # definition. So define HAVE_UINTPTR_T in case any imported code # relies on it. |