[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems solved by AC_LIB_HAVE_LINKFLAGS [was: cross building 1.9.14
From: |
Ralf Wildenhues |
Subject: |
Re: problems solved by AC_LIB_HAVE_LINKFLAGS [was: cross building 1.9.14 for mingw] |
Date: |
Sun, 20 Mar 2011 09:21:30 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
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