configure.in: Rewrite misleading error message when requested language cannot be built.

2005-05-19  Paul Brook  <paul@codesourcery.com>

	* configure.in: Rewrite misleading error message when requested
	language cannot be built.
	* configure: Regenerate.

From-SVN: r99982
This commit is contained in:
Paul Brook 2005-05-19 20:03:22 +00:00 committed by Paul Brook
parent 62b37d918e
commit 0cf085e4d4
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2005-05-19 Paul Brook <paul@codesourcery.com>
* configure.in: Rewrite misleading error message when requested
language cannot be built.
* configure: Regenerate.
2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
* ylwrap: Import from Automake 1.9.5.

4
configure vendored
View File

@ -2424,8 +2424,8 @@ if test -d ${srcdir}/gcc; then
missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
if test "x$missing_languages" != x; then
{ echo "configure: error:
The following requested languages were not found: ${missing_languages}
The available languages are: ${potential_languages}" 1>&2; exit 1; }
The following requested languages could not be built: ${missing_languages}
Recognised languages are: ${potential_languages}" 1>&2; exit 1; }
fi
if test "x$new_enable_languages" != "x$enable_languages"; then

View File

@ -1231,8 +1231,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 available languages are: ${potential_languages}])
The following requested languages could not be built: ${missing_languages}
Recognised languages are: ${potential_languages}])
fi
if test "x$new_enable_languages" != "x$enable_languages"; then