[patch] reorganize toplevel configure.in, part 1
Tue Jun 18 15:11:00 GMT 2002
On Tue, Jun 18, 2002 at 05:38:31PM -0400, DJ Delorie wrote:
> > directories to build. It also moves everything from the 'per-host'
> > section into the 'per-target' section, which doesn't lose us anything,
> The per-host and per-target lines are markers for a sed inside
> configure that pulls the right bits out and runs them at the right
> time. Are you sure moving things across them is the right thing to
Yes. I checked the logic inside configure. It runs per-host, then it
defines the variables for target, then it runs per-target. So moving
stuff from per-host to per-target works without problems.
Since I really want to separate the file into what-to-build and
how-to-build-it, the per-host and per-target separation doesn't work
well. It doesn't work very well anyway because a bunch of the 'host'
things want to check whether they're in a cross-compiler situation (and
accordingly a bunch of per-host stuff was already in the per-target
The other item I moved, libstdcxx_flags, is not checked anywhere between
the inclusion of the 'common' part and the inclusion of the 'per-target'
Now, there's a *lot* of code in configure between the per-target include
and the post-target include, so I'm not going to be moving anything
between those sections. :-) Luckily I don't need to in order to get
things in the order I want before I autoconfiscate.
More information about the Gcc-patches