[build] Properly track GCC language configure fragments

Programming / Compilers / GCC - tschwinge [138bc75d-0d04-0410-961f-82ee72b054a4] - 11 November 2019 08:05 EST

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.

5ba7804033a [build] Properly track GCC language configure fragments
gcc/ChangeLog | 7 +++++++
gcc/Makefile.in | 3 ++-
gcc/configure | 10 +++++++---
gcc/configure.ac | 5 ++++-
4 files changed, 20 insertions(+), 5 deletions(-)

Upstream: gcc.gnu.org


  • Share