+1999-04-20 Jim Meyering <meyering@ascend.com>
+
+ * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
+ Replace xstroull if necessary.
+ From Paul Eggert.
+
1999-04-20 Paul Eggert <eggert@twinsun.com>
+ * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
* m4/lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
1999-04-18 Jim Meyering <meyering@ascend.com>
--- /dev/null
+#serial 1
+
+dnl From Paul Eggert.
+
+AC_DEFUN(jm_AC_TYPE_UNSIGNED_LONG_LONG,
+[
+ 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)])
+ if test $ac_cv_type_unsigned_long_long = yes; then
+ AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
+ [Define if you have the unsigned long long type.])
+ fi
+])