aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-11-15 19:06:06 +0000
committerDJ Delorie <dj@redhat.com>2001-11-15 19:06:06 +0000
commitdc5790516edcfb5c1a1e92208c59d637391601ef (patch)
tree959c0279842c90ca7effa6c9080be5defb2e047b /libiberty/configure.in
parent45a1e866786da584cd7ca1752d1513ce8dbb85fc (diff)
downloadgdb-dc5790516edcfb5c1a1e92208c59d637391601ef.zip
gdb-dc5790516edcfb5c1a1e92208c59d637391601ef.tar.gz
gdb-dc5790516edcfb5c1a1e92208c59d637391601ef.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r--libiberty/configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in
index 505b520..7fc4856 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -126,6 +126,18 @@ AC_HEADER_TIME
libiberty_AC_DECLARE_ERRNO
+AC_MSG_CHECKING(for uintptr_t)
+AC_EGREP_HEADER(uintptr_t, sys/types.h,
+ libiberty_cv_uintptr_t=yes, libiberty_cv_uintptr_t=no)
+
+if test $libiberty_cv_uintptr_t = yes
+then
+ AC_DEFINE(HAVE_UINTPTR_T)
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_RESULT(no)
+fi
+
# This is the list of functions which libiberty will provide if they
# are not available on the host.