Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-09-22 00:32:59 +0400
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-09-22 00:32:59 +0400
commit9d1fd371d17a063b675e2553274f7da9d2bc0714 (patch)
tree28d60236068f08d1cb8bd48228e00f2a61c09f04 /configure.ac
parente1762cf3a4b917b12ff28bd646f32ab418af039d (diff)
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.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 55fb83051..794a4191d 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)