diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-09-04 14:33:39 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-09-04 14:33:39 +0000 |
commit | b4a451f5e182a7753be5b12b86ee7ab6af1d3779 (patch) | |
tree | 0ea5aeb105feacdd4ca302b277e953f9a09409b9 /libiberty/configure.ac | |
parent | 8deaa05e79c32747f1f795c3f47aa77f8348a158 (diff) | |
download | gdb-b4a451f5e182a7753be5b12b86ee7ab6af1d3779.zip gdb-b4a451f5e182a7753be5b12b86ee7ab6af1d3779.tar.gz gdb-b4a451f5e182a7753be5b12b86ee7ab6af1d3779.tar.bz2 |
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.
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 c34fc10..00dd68d 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. |