aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-09-21 20:31:02 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-09-21 20:31:02 +0000
commitf8dc745f6ef4f1a50abcafcda67694104a634b86 (patch)
treef88bd6015729be27d87bf15dade347d5648d726a /configure.ac
parent1290797801825ff96506c8197d301b60154c3250 (diff)
downloadgdb-f8dc745f6ef4f1a50abcafcda67694104a634b86.zip
gdb-f8dc745f6ef4f1a50abcafcda67694104a634b86.tar.gz
gdb-f8dc745f6ef4f1a50abcafcda67694104a634b86.tar.bz2
toplevel configure: bootstrap target_libs of stage1_languages.
/: * configure.ac: Also add target_libs of stage1_languages to bootstrap_target_libs. * configure: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index a8fb3b7..55fb830 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1763,10 +1763,13 @@ if test -d ${srcdir}/gcc; then
new_enable_languages="${new_enable_languages}${language},"
potential_languages="${potential_languages}${language},"
missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
- case ${boot_language} in
- yes)
+ case "${boot_language}:,$enable_stage1_languages," in
+ yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
# Add to (comma-separated) list of stage 1 languages.
- stage1_languages="${stage1_languages}${language},"
+ case ",$stage1_languages," in
+ *,$language,* | ,yes, | ,all,) ;;
+ *) stage1_languages="${stage1_languages}${language}," ;;
+ esac
# We need to bootstrap any supporting libraries.
bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
;;