summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b551f765b..6244d73380 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/configure b/configure
index 1527f1b982..be814518b7 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 5dd40ce28c..c2ced9168a 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