Commit 9c71a529 by Phil Edwards Committed by Phil Edwards

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
parent 5e8e542f
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.
2004-08-19 Michael Koch <konqueror@gmx.de> 2004-08-19 Michael Koch <konqueror@gmx.de>
* gcc/doc/install.texi: Update entry about automake for libjava. * gcc/doc/install.texi: Update entry about automake for libjava.
......
...@@ -1161,6 +1161,7 @@ if test -d ${srcdir}/gcc; then ...@@ -1161,6 +1161,7 @@ if test -d ${srcdir}/gcc; then
new_enable_languages=c new_enable_languages=c
missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,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 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
case ${lang_frag} in case ${lang_frag} in
...@@ -1178,6 +1179,7 @@ if test -d ${srcdir}/gcc; then ...@@ -1178,6 +1179,7 @@ if test -d ${srcdir}/gcc; then
build_by_default= build_by_default=
need_gmp= need_gmp=
. ${lang_frag} . ${lang_frag}
potential_languages="${potential_languages},${language}"
# This is quite sensitive to the ordering of the case statement arms. # This is quite sensitive to the ordering of the case statement arms.
case ,${enable_languages},:${language}:${have_gnat}:${build_by_default} in case ,${enable_languages},:${language}:${have_gnat}:${build_by_default} in
*::*:*) *::*:*)
...@@ -1234,7 +1236,8 @@ if test -d ${srcdir}/gcc; then ...@@ -1234,7 +1236,8 @@ if test -d ${srcdir}/gcc; then
missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"` missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
if test "x$missing_languages" != x; then if test "x$missing_languages" != x; then
AC_MSG_ERROR([ 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 fi
if test "x$new_enable_languages" != "x$enable_languages"; then if test "x$new_enable_languages" != "x$enable_languages"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment