From edb279e28408bcd418d96b3304722309e05da0b4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 22 Oct 2007 09:48:04 -0700 Subject: [PATCH] * 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 . --- ChangeLog | 7 +++++++ m4/ulonglong.m4 | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index aaf49647c..c15c015ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-10-22 Bruno Haible + + * 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 + . + 2007-10-22 Eric Blake * tests/test-yesno.sh: Silence stderr during test. diff --git a/m4/ulonglong.m4 b/m4/ulonglong.m4 index e9807895a..34f06e4c9 100644 --- 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_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; -- 2.11.0