This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: Fix configure.in as it always enables c++
- To: gcc-patches at gcc dot gnu dot org
- Subject: [PATCH]: Fix configure.in as it always enables c++
- From: Nicola Pero <n dot pero at mi dot flashnet dot it>
- Date: Fri, 9 Mar 2001 17:40:19 +0100 (CET)
- cc: Tom Tromey <tromey at redhat dot com>
- Reply-To: Nicola Pero <n dot pero at mi dot flashnet dot it>
Running configure with --enable-languages=objc gives me the meaningless
message
`c++' language required by `java'; enabling
and then it builds c++, while I don't want c++.
Apparently, it is a typo in the last change to configure.in.
Here is a patch.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.94
diff -u -r1.94 configure.in
--- configure.in 2001/03/07 22:51:02 1.94
+++ configure.in 2001/03/09 14:23:08
@@ -1016,7 +1016,7 @@
;;
*,all,*)
;;
- *)
+ *,$lang_alias,*)
echo " \`$other' language required by \`$lang_alias';
enabling" 1>&2
enable_languages="$enable_languages,$other"
;;
2001-03-09 Nicola Pero <n.pero@mi.flashnet.it>
* configure.in: Fix processing of config-lang.in - was always
enabling c++ due to a bug.