Mercurial > hg > octave-lojdl > gnulib-hg
changeset 1798:c9b3ff225f84
(jm_AC_TYPE_UINTMAX_T): Move unsigned long
long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Wed, 21 Apr 1999 04:04:04 +0000 |
parents | c5fb6cab68ec |
children | db6c4e91e350 |
files | m4/uintmax_t.m4 |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/uintmax_t.m4 +++ b/m4/uintmax_t.m4 @@ -1,4 +1,4 @@ -#serial 2 +#serial 3 dnl From Paul Eggert. @@ -11,11 +11,7 @@ [ AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) if test $jm_ac_cv_header_inttypes_h = no; then - AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, - [AC_TRY_COMPILE([], - [unsigned long long i = (unsigned long long) -1;], - ac_cv_type_unsigned_long_long=yes, - ac_cv_type_unsigned_long_long=no)]) + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) test $ac_cv_type_unsigned_long_long = yes \ && ac_type='unsigned long long' \ || ac_type='unsigned long'