toplevel configure: bootstrap target_libs of stage1_languages.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 21 Sep 2009 20:31:02 +0000 (20:31 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 21 Sep 2009 20:31:02 +0000 (20:31 +0000)
/:
* configure.ac: Also add target_libs of stage1_languages to
bootstrap_target_libs.
* configure: Regenerate.

ChangeLog
configure
configure.ac

index ca58d0d8731b4788dcb6d5c1a370895a83dc3a3a..f99c9c8392024f182f2b45a7ba854a0346c1867a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-09-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * configure.ac: Also add target_libs of stage1_languages to
+       bootstrap_target_libs.
+       * configure: Regenerate.
+
        * configure.ac: Diagnose --enable-build-with-cxx bootstrap
        with --enable-languages not containing c++.
        * configure: Regenerate.
index df2b37f5670626c5ccc13628d8abf97b730e2464..49c1786de6099eb75c4dea93258c913a585e6786 100755 (executable)
--- a/configure
+++ b/configure
@@ -5819,10 +5819,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},"
                ;;
index a8fb3b79714f8cdacd8f1344807cad55b1a0cc8c..55fb83051be9d5bd8725470f39816c076a854bed 100644 (file)
@@ -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},"
                ;;