diff options
author | Douglas B Rupp <rupp@gnat.com> | 2001-12-24 12:51:40 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-12-24 12:51:40 -0500 |
commit | fdfc290b947e036ff15e9b221f64d2bcb8c9fabc (patch) | |
tree | 579728b986a6fa463d78de8ee8a985b9a100faf0 /libiberty/configure.in | |
parent | 596151e1938b4bfdbd4bf6bb548a365c5ae51117 (diff) | |
download | gcc-fdfc290b947e036ff15e9b221f64d2bcb8c9fabc.zip gcc-fdfc290b947e036ff15e9b221f64d2bcb8c9fabc.tar.gz gcc-fdfc290b947e036ff15e9b221f64d2bcb8c9fabc.tar.bz2 |
configure.in (uintptr_t): Use AC_CHECK_TYPE.
* configure.in (uintptr_t): Use AC_CHECK_TYPE.
* configure: Regenerated.
From-SVN: r48306
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index c35624e..3357370 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -126,16 +126,11 @@ 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) +AC_CHECK_TYPE(uintptr_t, unsigned long) -if test $libiberty_cv_uintptr_t = yes +if test $ac_cv_type_uintptr_t = yes then AC_DEFINE(HAVE_UINTPTR_T, 1, [Define if you have the \`uintptr_t' type.]) - AC_MSG_RESULT(yes) -else - AC_MSG_RESULT(no) fi # This is the list of functions which libiberty will provide if they |