summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-21 04:04:04 +0000
committerJim Meyering <jim@meyering.net>1999-04-21 04:04:04 +0000
commite441de9acc406c12a270e286b76136227ac706d4 (patch)
tree895769a22a303a442f846ed768f5c068a234c1df /m4
parent36ca174d811ee0d14980d01ff2573c3141fe76e1 (diff)
downloadcoreutils-e441de9acc406c12a270e286b76136227ac706d4.tar.xz
(jm_AC_TYPE_UINTMAX_T): Move unsigned long
long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
Diffstat (limited to 'm4')
-rw-r--r--m4/uintmax_t.m48
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'