Hello,

* Jan Nieuwenhuizen wrote on Sun, Mar 20, 2011 at 09:08:20AM CET:
> It would be nicer still if looking in /usr at compile/build time could
> be turned off (from your use cases that seems to be possible), or
> be turned off for $DESTDIR builds.  That could be done with a single
> flag.  It would be perfect if we found a way to detect $DESTDIR
> builds automagically, so that the --with/--without $DESTDIR option
> would have a smart default.

Bruno already explained why it is not a good idea to let DESTDIR
be the indicator of whether to look in /usr or not.

But I agree with you that there *should* be a common indicator to turn
off looking in /usr.  I think it should be a generalization of the
recent --with-sysroot addition to Libtool (which stems from the much
older sysroot support in GCC).  Implementors please talk to Paolo
Bonzini about further ideas for this.

Thanks,
Ralf

Reply via email to