diff options
-rw-r--r-- | m4/uintmax_t.m4 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/m4/uintmax_t.m4 b/m4/uintmax_t.m4 index 3501f7739..347863e52 100644 --- 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_DEFUN(jm_AC_TYPE_UINTMAX_T, [ 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' |