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 to fix include paths


On Fri, Sep 21, 2001 at 01:55:40PM -0700, Per Bothner wrote:
> Zack Weinberg wrote:
> 
> >I would prefer that you avoid introducing more messy embedded shell
> >hackery into the Makefile.
> >
> This preference seems to be more esthestic rather than anything else.
> It seems to me that keeping the embedded shell hackery is just as
> portable, simpler, and easier to understand.  Adding an extra configure
> variable actually makes things more complicated, since you now have
> to understand extra interactons between two files.

It isn't just as portable; you've introduced another place where we
will now have problems with nested quoting.

Here's a question: Do we _ever_ want to override the compiled-in paths
from the makefile, or do we always want to use the ones set at
configure time?  If it's the latter, why don't we zap this entire mess
and move the #defines to auto-host.h?  That would also obviate the
need for recompilations when the Makefile changes (normally in an
unrelated manner).

zw


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