aboutsummaryrefslogtreecommitdiff
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 0b551f7..6244d73 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 1527f1b..be81451 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 5dd40ce..c2ced91 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