diff options
author | DJ Delorie <dj@redhat.com> | 2003-04-14 18:27:58 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2003-04-14 18:27:58 +0000 |
commit | daf7c4ad3aecfa9c617bfae6950bb0b5782e6edd (patch) | |
tree | 2cbf2f23d2b3bd1156e72a5ab14c18d2355b0a17 /libiberty/configure.in | |
parent | 2d0c79623635d52e08bba7c9519f7d4b07aaf2ff (diff) | |
download | binutils-gdb-daf7c4ad3aecfa9c617bfae6950bb0b5782e6edd.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index 5b38660f10b..767d9dd794c 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -149,11 +149,10 @@ AC_HEADER_TIME libiberty_AC_DECLARE_ERRNO AC_CHECK_TYPE(uintptr_t, unsigned long) - -if test $ac_cv_type_uintptr_t = yes -then - AC_DEFINE(HAVE_UINTPTR_T, 1, [Define if you have the \`uintptr_t' type.]) -fi +# 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. +AC_DEFINE(HAVE_UINTPTR_T, 1, [Define if you have the \`uintptr_t' type.]) AC_TYPE_PID_T |