projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[gnulib.git]
/
m4
/
uintmax_t.m4
diff --git
a/m4/uintmax_t.m4
b/m4/uintmax_t.m4
index
8c0189b
..
222beff
100644
(file)
--- a/
m4/uintmax_t.m4
+++ b/
m4/uintmax_t.m4
@@
-1,4
+1,4
@@
-#serial
2
+#serial
5
dnl From Paul Eggert.
dnl From Paul Eggert.
@@
-11,16
+11,12
@@
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_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'
test $ac_cv_type_unsigned_long_long = yes \
&& ac_type='unsigned long long' \
|| ac_type='unsigned long'
- AC_DEFINE(uintmax_t, $ac_type,
- [ Define to \`unsigned long' or \`unsigned long long'
+ AC_DEFINE
_UNQUOTED
(uintmax_t, $ac_type,
+[ Define to unsigned long or unsigned long long
if <inttypes.h> doesn't define.])
fi
])
if <inttypes.h> doesn't define.])
fi
])