# HG changeset patch # User Paul Eggert # Date 1177783558 0 # Node ID cecd0b715bab42bbeba8b0a2b2c68daee3ccdb4b # Parent 55ce433164f3916088b72d22e86d5a4a99566ac1 Avoid false-negative in gl_STDINT_H's C99 conformance test. * m4/stdint.m4 (gl_STDINT_H): When checking whether stdint.h conforms to C99, include all of gl_STDINT_INCLUDES, not just . diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-28 Jim Meyering + + Avoid false-negative in gl_STDINT_H's C99 conformance test. + * m4/stdint.m4 (gl_STDINT_H): When checking whether stdint.h conforms + to C99, include all of gl_STDINT_INCLUDES, not just . + 2007-04-27 Eric Blake * doc/headers/assert.texi (assert.h): Document assert module use. diff --git a/m4/stdint.m4 b/m4/stdint.m4 --- a/m4/stdint.m4 +++ b/m4/stdint.m4 @@ -66,8 +66,8 @@ [gl_cv_header_working_stdint_h], [gl_cv_header_working_stdint_h=no AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([[ -#include + AC_LANG_PROGRAM([gl_STDINT_INCLUDES + [ #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ #include ABSOLUTE_STDINT_H