From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Wildenhues Newsgroups: gmane.lisp.guile.devel 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 Organization: Institute for Numerical Simulation, University of Bonn Message-ID: <20110320082130.GD3541@gmx.de> References: <1296330082.8111.371.camel@vuurvlieg> <874o8r8kdn.fsf@gnu.org> <1297765259.2325.283.camel@vuurvlieg> <1298540378.4306.71.camel@vuurvlieg> <1300608500.22746.69.camel@vuurvlieg> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1300609316 19746 80.91.229.12 (20 Mar 2011 08:21:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2011 08:21:56 +0000 (UTC) Cc: Andy Wingo , Ludovic =?iso-8859-1?Q?Court=E8s?= , Bruno Haible , guile-devel@gnu.org To: Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Mar 20 09:21:50 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1DtV-00012l-Bg for guile-devel@m.gmane.org; Sun, 20 Mar 2011 09:21:49 +0100 Original-Received: from localhost ([127.0.0.1]:46857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1DtU-0008G9-RY for guile-devel@m.gmane.org; Sun, 20 Mar 2011 04:21:48 -0400 Original-Received: from [140.186.70.92] (port=54144 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1DtR-0008G4-9N for guile-devel@gnu.org; Sun, 20 Mar 2011 04:21:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1DtQ-0001ee-3e for guile-devel@gnu.org; Sun, 20 Mar 2011 04:21:45 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:40350) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q1DtP-0001eF-Kz for guile-devel@gnu.org; Sun, 20 Mar 2011 04:21:44 -0400 Original-Received: (qmail invoked by alias); 20 Mar 2011 08:21:41 -0000 Original-Received: from xdsl-89-0-191-160.netcologne.de (EHLO localhost.localdomain) [89.0.191.160] by mail.gmx.net (mp035) with SMTP; 20 Mar 2011 09:21:41 +0100 X-Authenticated: #13673931 X-Provags-ID: V01U2FsdGVkX1+8VSk5uG+8idXr4FA3e8wvlJ/Bm2Q7qMxmx6cCGy 535/5rOumv755e Original-Received: from ralf by localhost.localdomain with local (Exim 4.72) (envelope-from ) id 1Q1DtC-0002f1-LO; Sun, 20 Mar 2011 09:21:30 +0100 Content-Disposition: inline In-Reply-To: <1300608500.22746.69.camel@vuurvlieg> User-Agent: Mutt/1.5.20 (2010-08-04) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11924 Archived-At: 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