diff options
author | Phil Edwards <phil@codesourcery.com> | 2004-08-26 23:45:16 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2004-08-26 23:45:16 +0000 |
commit | 9c71a5298f77d66d5a46e272238186e6fee63db6 (patch) | |
tree | 35f5d71838a032e272310ccc70c7cf8f08df2424 /configure.in | |
parent | 5e8e542ff89af945fa40ae42e4a7cfc6c91c3353 (diff) | |
download | gcc-9c71a5298f77d66d5a46e272238186e6fee63db6.zip gcc-9c71a5298f77d66d5a46e272238186e6fee63db6.tar.gz gcc-9c71a5298f77d66d5a46e272238186e6fee63db6.tar.bz2 |
configure.in: Print a list of available language front-ends if a requested one is missing.
2004-08-25 Phil Edwards <phil@codesourcery.com>
* configure.in: Print a list of available language front-ends if
a requested one is missing. Tidy stray tab characters.
* configure: Regenerated.
From-SVN: r86640
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.in b/configure.in index c84dc42..b43e751 100644 --- a/configure.in +++ b/configure.in @@ -1161,6 +1161,7 @@ if test -d ${srcdir}/gcc; then new_enable_languages=c missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ ` + potential_languages=c for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do case ${lang_frag} in @@ -1176,14 +1177,15 @@ if test -d ${srcdir}/gcc; then lang_dirs= boot_language= build_by_default= - need_gmp= + need_gmp= . ${lang_frag} + potential_languages="${potential_languages},${language}" # This is quite sensitive to the ordering of the case statement arms. case ,${enable_languages},:${language}:${have_gnat}:${build_by_default} in *::*:*) echo "${lang_frag} doesn't set \$language." 1>&2 exit 1 - ;; + ;; *:ada:no:*) # Ada was requested with no preexisting GNAT. Disable unconditionally. add_this_lang=no @@ -1194,9 +1196,9 @@ if test -d ${srcdir}/gcc; then ;; *,all,*:*:*:no) # 'all' was selected, but this is not a default language - # so do not include it. + # so do not include it. add_this_lang=no - ;; + ;; *,all,*:*:*:*) # 'all' was selected and this is a default language; include it. add_this_lang=yes @@ -1234,7 +1236,8 @@ if test -d ${srcdir}/gcc; then missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"` if test "x$missing_languages" != x; then AC_MSG_ERROR([ -The following requested languages were not found: ${missing_languages}]) +The following requested languages were not found: ${missing_languages} +The available languages are: ${potential_languages}]) fi if test "x$new_enable_languages" != "x$enable_languages"; then |