From: Paul Eggert Date: Mon, 26 Jan 2004 23:28:56 +0000 (+0000) Subject: Include even if HAVE_INTTYPES_H is defined. X-Git-Tag: AUTOCONF-2.59c~749 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=62ac9bbfebe879581dabeed78c6ac66b907dd51d;p=thirdparty%2Fautoconf.git Include even if HAVE_INTTYPES_H is defined. --- diff --git a/ChangeLog b/ChangeLog index 4b025c069..1cda3fa94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2004-01-26 Paul Eggert + + * doc/autoconf.texi (Default Includes): Include even if + HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with + Compac C V6.5-207 (dtk), which defines uintmax_t in but + not . Problem reported by Tim Mooney in + . + * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): + Likewise. + + * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed; + otherwise "make check" fails because it forbids cmp (I guess + because cmp treats files as binary on DOS-like systems). + + * tests/mktests.sh: Update copyright date to 2004, since some tests + have changed in 2004. + 2004-01-23 Gary V. Vaugan * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a diff --git a/doc/autoconf.texi b/doc/autoconf.texi index b567a576b..6d9b68b7f 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -3184,10 +3184,9 @@ Expand to @var{include-directives} if defined, otherwise to: #endif #if HAVE_INTTYPES_H # include -#else -# if HAVE_STDINT_H -# include -# endif +#endif +#if HAVE_STDINT_H +# include #endif #if HAVE_UNISTD_H # include diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4 index 10504f98c..393be3487 100644 --- a/lib/autoconf/headers.m4 +++ b/lib/autoconf/headers.m4 @@ -1,7 +1,7 @@ # This file is part of Autoconf. -*- Autoconf -*- # Checking for headers. # -# Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -250,10 +250,9 @@ ac_includes_default="\ #endif #if HAVE_INTTYPES_H # include -#else -# if HAVE_STDINT_H -# include -# endif +#endif +#if HAVE_STDINT_H +# include #endif #if HAVE_UNISTD_H # include