]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Filter out unconditional <stdio.h> default include
authorArsen Arsenović <arsen@aarsen.me>
Tue, 27 Sep 2022 10:20:33 +0000 (12:20 +0200)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 3 Oct 2022 14:43:48 +0000 (15:43 +0100)
commitbcb1f4387cbec369a0a52a0acf7a6497353597a8
tree21c3f56b13b2bebb8d9bcb7556b0c13dae576439
parentf1b51f68f8ac6c63e352dda8599aed01634212de
libstdc++: Filter out unconditional <stdio.h> default include

_AC_INCLUDES_DEFAULT_REQUIREMENTS including <stdio.h> when checking for
stdint.h has prevented proper detection of whether stdint.h is present,
since it'd poison the cache variables with test results failing due to
<stdio.h> failing to include. As a solution, for autoconf versions under
2.70, we filter out that bit of code from ac_includes_default.

This issue was fixed in autoconf-2.70.
This also applies to various other headers, but was noticed when looking
into why HAVE_STDINT_H was misdefined.

libstdc++-v3/ChangeLog:

* configure.ac: Remove any lines that unconditionally include
<stdio.h> from ac_includes_default, when running Autoconf <2.70.
* configure: Regenerate.
libstdc++-v3/configure
libstdc++-v3/configure.ac
This page took 0.061547 seconds and 6 git commands to generate.