]> git.ipfire.org Git - thirdparty/gcc.git/commit
[build] Properly track GCC language configure fragments
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 11 Nov 2019 08:06:25 +0000 (09:06 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Mon, 11 Nov 2019 08:06:25 +0000 (09:06 +0100)
commit548fe28fbe884ac2ddf965f82a0fdbcb07b79934
tree89224149249b17b37a632a956d8402ff1e003826
parent758914048dfb468027a9d75796135802f1b87728
[build] Properly track GCC language configure fragments

The 'gcc/configure' script sources all 'gcc/*/config-lang.in' files, but fails
to emit such dependency information into the build machinery.  That means,
currently, when something gets changed in a 'gcc/*/config-lang.in' file, this
is not noticed, and doesn't propagate through the build machinery.

Handling of configure fragments is modelled in the same way as it already
exists for Makefile fragments.

gcc/
* Makefile.in (LANG_CONFIGUREFRAGS): Define.
(config.status): Use/depend on it.
* configure.ac (all_lang_configurefrags): Track, 'AC_SUBST'.
* configure: Regenerate.

Backport from trunk r278035.

From-SVN: r278036
gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.ac