[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] another warn case: intmax.m4
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] another warn case: intmax.m4 |
Date: |
Thu, 28 Sep 2006 22:16:51 +0200 |
User-agent: |
KMail/1.9.1 |
Ralf Wildenhues wrote:
> I missed this case the last time (as the test isn't executed on my
> system). OK to apply?
Yes. I applied this.
*** intmax.m4 24 Feb 2005 20:12:45 -0000 1.5
--- intmax.m4 28 Sep 2006 20:17:30 -0000
***************
*** 1,4 ****
! # intmax.m4 serial 2 (gettext-0.14.2)
dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
--- 1,4 ----
! # intmax.m4 serial 3 (gettext-0.15.1)
dnl Copyright (C) 2002-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
***************
*** 22,28 ****
#if HAVE_INTTYPES_H_WITH_UINTMAX
#include <inttypes.h>
#endif
! ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)])
if test $gt_cv_c_intmax_t = yes; then
AC_DEFINE(HAVE_INTMAX_T, 1,
[Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
--- 22,31 ----
#if HAVE_INTTYPES_H_WITH_UINTMAX
#include <inttypes.h>
#endif
! ], [intmax_t x = -1;
! return !x;],
! gt_cv_c_intmax_t=yes,
! gt_cv_c_intmax_t=no)])
if test $gt_cv_c_intmax_t = yes; then
AC_DEFINE(HAVE_INTMAX_T, 1,
[Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])