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]

Re: [resubmit] Move --enable-languages logic to the toplevel

Bonzini wrote:
I included an earlier and incomplete version of the patch which strips
one hunk too much.  Bootstrapped on i686-pc-linux-gnu, specifying
--enable-languages=all even if I do not have an Ada compiler.

Sorry it took me so long to look at this.

Ok for mainline? If so, would you please commit it for me to both gcc
and src, since I do not have CVS access to the latter?


Updated version of the patch to move detection of the Ada compiler
to the toplevel.

See also

Ok for mainline?
Not quite yet....


2004-03-01 Paolo Bonzini <>

PR ada/14131

	Move language detection to the toplevel.
	* Find default values for the tools as
	soon as possible.  Disable ada if GNAT is not found.
	Emit error message about missing languages.  Expand
	--enable-languages=all for the gcc subdirectory.
* Please don't change my case statements into "if test" invocations (as you did for one of them); it's slower and more error-prone.

* The whitespace changes make this incredibly hard to review.
Perhaps you could send a patch made with diff -ub for my benefit (as well as the diff -u patch for applying)?

	* gcc/ Remove code to detect languages,
	it now lives exclusively in the toplevel.
	* gcc/aclocal.m4 (gcc_AC_PROG_GNAT): Move...
	* config/acx.m4 (ACX_PROG_GNAT): ... here.
	* gcc/ada/ Build by default.

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