* m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not
authorBruno Haible <bruno@clisp.org>
Mon, 22 Oct 2007 16:48:04 +0000 (09:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 22 Oct 2007 16:48:04 +0000 (09:48 -0700)
-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>.

ChangeLog
m4/ulonglong.m4

index aaf4964..c15c015 100644 (file)
--- 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.
index e980789..34f06e4 100644 (file)
@@ -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_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
     [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;