This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Misleading configure error

When gcc is configured with --enable-languages=ada on a system that doesn't 
have the necessary prerequisites the following error occurs:

"The following requested languages were not found: ada
The available languages are: c,ada,c++,f95,java,objc,treelang"

Which doesn't make any sense at all.

The patch below rephrases this message so that it makes sense both in this 
case and when --enable-languages=wibble is specified



2005-05-18  Paul Brook  <>

	* Rewrite misleading error message.
	* configure: Regenerate.

RCS file: /var/cvsroot/gcc-cvs/gcc/,v
retrieving revision 1.349
diff -u -p -r1.349
---	5 May 2005 00:59:21 -0000	1.349
+++	18 May 2005 13:13:28 -0000
@@ -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
-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}])
   if test "x$new_enable_languages" != "x$enable_languages"; then

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]