diff options
author | Jason Merrill <jason@redhat.com> | 2012-09-04 14:49:41 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-09-04 14:49:41 -0400 |
commit | 178f875aa0b8465dd94c7c16bb74197229353cbe (patch) | |
tree | 79bf226ee6d3c8e12e8919be347260dc233d36e2 /configure.ac | |
parent | 326280d4224f98eb473de20cd9b438467da93905 (diff) | |
download | gcc-178f875aa0b8465dd94c7c16bb74197229353cbe.zip gcc-178f875aa0b8465dd94c7c16bb74197229353cbe.tar.gz gcc-178f875aa0b8465dd94c7c16bb74197229353cbe.tar.bz2 |
* configure.ac: Fix --enable-languages=all.
From-SVN: r190945
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 02174b3..9bee624 100644 --- a/configure.ac +++ b/configure.ac @@ -1758,6 +1758,7 @@ if test -d ${srcdir}/gcc; then boot_language=yes fi + add_this_lang=no case ,${enable_languages}, in *,${language},*) # Language was explicitly selected; include it @@ -1768,10 +1769,9 @@ if test -d ${srcdir}/gcc; then ;; *,all,*) # 'all' was selected, select it if it is a default language - add_this_lang=${build_by_default} - ;; - *) - add_this_lang=no + if test "$language" != "c"; then + add_this_lang=${build_by_default} + fi ;; esac |