https://gcc.gnu.org/g:aa4d1d5481d05ae0b7d78895fa95fd8178467542
commit r17-5908-gaa4d1d5481d05ae0b7d78895fa95fd8178467542 Author: Pietro Monteiro <[email protected]> Date: Tue Nov 3 23:17:43 2026 -0500 configury: replace obsolete macro AC_CONFIG_HEADER [PR103459] Update the obsolete macro AC_CONFIG_HEADER to AC_CONFIG_HEADERS. There's no change to the generated files. PR bootstrap/103459 gcc/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. gcc/m2/ChangeLog: * gm2-libs/config-host.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libatomic/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libbacktrace/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libga68/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libgcc/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libgcobol/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libgfortran/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libgm2/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libgomp/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libiberty/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libitm/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libquadmath/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libsanitizer/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. libstdc++-v3/ChangeLog: * configure.ac: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS. Signed-off-by: Pietro Monteiro <[email protected]> Diff: --- gcc/configure.ac | 2 +- gcc/m2/gm2-libs/config-host.in | 2 +- libatomic/configure.ac | 2 +- libbacktrace/configure.ac | 2 +- libga68/configure.ac | 2 +- libgcc/configure.ac | 2 +- libgcobol/configure.ac | 2 +- libgfortran/configure.ac | 2 +- libgm2/configure.ac | 2 +- libgomp/configure.ac | 2 +- libiberty/configure.ac | 2 -- libitm/configure.ac | 2 +- libquadmath/configure.ac | 2 +- libsanitizer/configure.ac | 2 +- libstdc++-v3/configure.ac | 2 +- 15 files changed, 14 insertions(+), 16 deletions(-) diff --git a/gcc/configure.ac b/gcc/configure.ac index 0165f8268a4d..490083859244 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -26,7 +26,7 @@ AC_INIT AC_CONFIG_SRCDIR(tree.cc) AC_CONFIG_MACRO_DIRS([../config] [..]) -AC_CONFIG_HEADER(auto-host.h:config.in) +AC_CONFIG_HEADERS([auto-host.h:config.in]) gcc_version=`cat $srcdir/BASE-VER` diff --git a/gcc/m2/gm2-libs/config-host.in b/gcc/m2/gm2-libs/config-host.in index e1ade920b6fe..36b6dbe806d7 100644 --- a/gcc/m2/gm2-libs/config-host.in +++ b/gcc/m2/gm2-libs/config-host.in @@ -26,7 +26,7 @@ # <http://www.gnu.org/licenses/>. # AC_INIT(ASCII.def, 1.9.5, [email protected]) -AC_CONFIG_HEADER(gm2-libs-host.h:gm2-libs-host.h.in) +AC_CONFIG_HEADERS([gm2-libs-host.h:gm2-libs-host.h.in]) # Checks for programs. diff --git a/libatomic/configure.ac b/libatomic/configure.ac index 2ccd230b1e61..e8ee03a025ae 100644 --- a/libatomic/configure.ac +++ b/libatomic/configure.ac @@ -23,7 +23,7 @@ # <http://www.gnu.org/licenses/>. AC_INIT([GNU Atomic Library], 1.0,,[libatomic]) -AC_CONFIG_HEADER(auto-config.h) +AC_CONFIG_HEADERS([auto-config.h]) # ------- # Options diff --git a/libbacktrace/configure.ac b/libbacktrace/configure.ac index 90401e95768d..c5675d5147be 100644 --- a/libbacktrace/configure.ac +++ b/libbacktrace/configure.ac @@ -31,7 +31,7 @@ AC_INIT(package-unused, version-unused,, libbacktrace) AC_CONFIG_SRCDIR(backtrace.h) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) if test -n "${with_target_subdir}"; then AM_ENABLE_MULTILIB(, ..) diff --git a/libga68/configure.ac b/libga68/configure.ac index 17b4e0002e4e..87a29629d7b2 100644 --- a/libga68/configure.ac +++ b/libga68/configure.ac @@ -19,7 +19,7 @@ AC_INIT(package-unused, version-unused,,libga68) AC_CONFIG_SRCDIR(Makefile.am) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) # Add --enable-multilib to configure, which defaults to enable. AM_ENABLE_MULTILIB(, ..) diff --git a/libgcc/configure.ac b/libgcc/configure.ac index 0a09fd9ce423..479cff4b2376 100644 --- a/libgcc/configure.ac +++ b/libgcc/configure.ac @@ -48,7 +48,7 @@ else fi AC_SUBST(libgcc_topdir) AC_CONFIG_AUX_DIR($libgcc_topdir) -AC_CONFIG_HEADER(auto-target.h:config.in) +AC_CONFIG_HEADERS([auto-target.h:config.in]) AC_ARG_ENABLE(shared, [ --disable-shared don't provide a shared libgcc], diff --git a/libgcobol/configure.ac b/libgcobol/configure.ac index d3b1343bbe92..7ca4bd95914d 100644 --- a/libgcobol/configure.ac +++ b/libgcobol/configure.ac @@ -24,7 +24,7 @@ AC_INIT(package-unused, version-unused,,libgcobol) AC_CONFIG_SRCDIR(Makefile.am) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIRS([m4]) diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 3119a883844f..c5f040f368c5 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -2,7 +2,7 @@ # aclocal && autoconf && autoheader && automake AC_INIT([GNU Fortran Runtime Library], 0.3,,[libgfortran]) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) GCC_TOPLEV_SUBDIRS # ------- diff --git a/libgm2/configure.ac b/libgm2/configure.ac index 4202ab743c0f..935fa48d6c7b 100644 --- a/libgm2/configure.ac +++ b/libgm2/configure.ac @@ -25,7 +25,7 @@ AC_INIT(package-unused, version-unused,,libgm2) AC_CONFIG_SRCDIR(Makefile.am) # AC_CONFIG_MACRO_DIR([config]) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) libtool_VERSION=21:0:0 AC_SUBST(libtool_VERSION) diff --git a/libgomp/configure.ac b/libgomp/configure.ac index bf1a6af58099..35ebca4ae8ed 100644 --- a/libgomp/configure.ac +++ b/libgomp/configure.ac @@ -2,7 +2,7 @@ # aclocal -I ../config && autoconf && autoheader && automake AC_INIT([GNU Offloading and Multi Processing Runtime Library], 1.0,,[libgomp]) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) # ------- # Options diff --git a/libiberty/configure.ac b/libiberty/configure.ac index a56a1017f1a2..0963a8387edb 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -220,8 +220,6 @@ dnl AM_DISABLE_SHARED dnl When we start using libtool: dnl AM_PROG_LIBTOOL -dnl When we start using automake: -dnl AM_CONFIG_HEADER(config.h:config.in) AC_CONFIG_HEADERS([config.h:config.in]) dnl When we start using automake: diff --git a/libitm/configure.ac b/libitm/configure.ac index ecc651de72af..8bac49ad6cf8 100644 --- a/libitm/configure.ac +++ b/libitm/configure.ac @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. AC_INIT([GNU TM Runtime Library], 1.0,,[libitm]) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) # ------- # Options diff --git a/libquadmath/configure.ac b/libquadmath/configure.ac index 159aa108e73f..c77facc764eb 100644 --- a/libquadmath/configure.ac +++ b/libquadmath/configure.ac @@ -2,7 +2,7 @@ # aclocal && autoconf && autoheader && automake AC_INIT([GCC Quad-precision Math Library], 0.1,,[libquadmath]) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) # Gets build, host, target, *_vendor, *_cpu, *_os, etc. # diff --git a/libsanitizer/configure.ac b/libsanitizer/configure.ac index 88ea1f827786..9699507038e8 100644 --- a/libsanitizer/configure.ac +++ b/libsanitizer/configure.ac @@ -368,7 +368,7 @@ AM_CONDITIONAL(LIBBACKTRACE_SUPPORTED, AH_BOTTOM([#include "libbacktrace/backtrace-rename.h"]) AC_CONFIG_FILES([Makefile libsanitizer.spec libbacktrace/backtrace-supported.h]) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES(m4_foreach_w([DIR], [interception sanitizer_common libbacktrace lsan asan ubsan], [DIR/Makefile ]), [cat > vpsed$$ << \_EOF diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index db08de7735e4..a1f596a188d6 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -2,7 +2,7 @@ AC_INIT(package-unused, version-unused,, libstdc++) AC_CONFIG_SRCDIR(src/shared/hashtable-aux.cc) -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) # This works around the fact that libtool configuration may change LD # for this particular configuration, but some shells, instead of
