diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-09-21 20:32:59 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-09-21 20:32:59 +0000 |
commit | 16b1ad29eaa9451d7f0c8bf47df22578f98a1011 (patch) | |
tree | 48a1387d538f7f304efa20fe452ea39007038711 /configure.ac | |
parent | f8dc745f6ef4f1a50abcafcda67694104a634b86 (diff) | |
download | gdb-16b1ad29eaa9451d7f0c8bf47df22578f98a1011.zip gdb-16b1ad29eaa9451d7f0c8bf47df22578f98a1011.tar.gz gdb-16b1ad29eaa9451d7f0c8bf47df22578f98a1011.tar.bz2 |
Require c++ in stage1_languages with --enable-gold in combined bootstrap.
/:
* configure.ac: If bootstrapping a combined tree with
--enable-gold, require c++ in stage1_languages.
* configure: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 55fb830..794a419 100644 --- a/configure.ac +++ b/configure.ac @@ -2470,6 +2470,13 @@ case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in ;; esac +case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in + yes:yes:*\ gold\ *:*,c++,*) ;; + yes:yes:*\ gold\ *:*) + AC_MSG_ERROR([in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages]) + ;; +esac + # Adjust the toplevel makefile according to whether bootstrap was selected. case $enable_bootstrap in yes) |