Mercurial > hg > octave-nkf > gnulib-hg
changeset 9392:3a9abfe32c11
* m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not
-1u, in preprocessor expression, so that we don't test for the bug
in HP-UX 11.00 cpp. Testing for this bug caused problems; see
<http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 22 Oct 2007 09:48:04 -0700 |
parents | f91466f94f23 |
children | 8aa3af4621aa |
files | ChangeLog m4/ulonglong.m4 |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-10-22 Bruno Haible <bruno@clisp.org> + + * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not + -1u, in preprocessor expression, so that we don't test for the bug + in HP-UX 11.00 cpp. Testing for this bug caused problems; see + <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>. + 2007-10-22 Eric Blake <ebb9@byu.net> * tests/test-yesno.sh: Silence stderr during test.
--- a/m4/ulonglong.m4 +++ b/m4/ulonglong.m4 @@ -1,4 +1,4 @@ -# ulonglong.m4 serial 7 +# ulonglong.m4 serial 8 dnl Copyright (C) 1999-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -21,7 +21,7 @@ [ac_cv_type_unsigned_long_long_int], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( - [[#if ! (18446744073709551615ULL <= -1u) + [[#if ! (18446744073709551615ULL <= -1ull) error in preprocessor; #endif unsigned long long int ull = 18446744073709551615ULL;