This is the mail archive of the
mailing list for the GCC project.
Re: [resubmit] Move --enable-languages logic to the toplevel
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 06 Mar 2004 21:39:47 -0500
- Subject: Re: [resubmit] Move --enable-languages logic to the toplevel
- References: <20040301115508.GA14557@fencepost>
Sorry it took me so long to look at this.
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.
Not quite yet....
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 http://gcc.gnu.org/ml/gcc/2004-02/msg00755.html
Ok for mainline?
* 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.
2004-03-01 Paolo Bonzini <firstname.lastname@example.org>
Move language detection to the toplevel.
* configure.in: 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.
* 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/configure.ac: 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/config-lang.in: Build by default.