This is the mail archive of the gcc-patches@gcc.gnu.org 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]

Re: [PATCH]: Fix configure.in as it always enables c++



Sorry - gcc/configure.in has to be fixed too in the same way...


> 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.
> 
> 
> 


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