diff --git a/ChangeLog b/ChangeLog index 0b551f765..6244d7338 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-19 Paul Brook + + * configure.in: Rewrite misleading error message when requested + language cannot be built. + * configure: Regenerate. + 2005-05-15 Daniel Jacobowitz * ylwrap: Import from Automake 1.9.5. diff --git a/configure b/configure index 1527f1b98..be814518b 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 5dd40ce28..c2ced9168 100644 --- a/configure.in +++ b/configure.in @@ -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