Mercurial > hg > octave-lyh > gnulib-hg
changeset 1796:e8013bcb6a9a
*** empty log message ***
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Wed, 21 Apr 1999 03:58:57 +0000 |
parents | 2cdaee970901 |
children | c5fb6cab68ec |
files | m4/ChangeLog m4/ulonglong.m4 |
diffstat | 2 files changed, 23 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,5 +1,12 @@ +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>
new file mode 100644 --- /dev/null +++ b/m4/ulonglong.m4 @@ -0,0 +1,16 @@ +#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 +])