Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 14601 invoked from network); 8 Jan 2007 19:33:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2007 19:33:22 -0000 Received: (qmail 10005 invoked by uid 500); 8 Jan 2007 19:33:25 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 9945 invoked by uid 500); 8 Jan 2007 19:33:24 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 9929 invoked by uid 99); 8 Jan 2007 19:33:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 11:33:24 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [207.155.252.219] (HELO warrior.cnchost.com) (207.155.252.219) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 11:33:14 -0800 Received: from [192.168.0.21] (c-24-15-193-17.hsd1.il.comcast.net [24.15.193.17]) (as wrowe@rowe-clan.net) by warrior.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id 516D1114A; Mon, 8 Jan 2007 14:32:30 -0500 (EST) Message-ID: <45A29C3D.8000302@rowe-clan.net> Date: Mon, 08 Jan 2007 13:32:13 -0600 From: "William A. Rowe, Jr." User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: "William A. Rowe, Jr." , dev@httpd.apache.org, dev@apr.apache.org Subject: Re: Customize lib path list (lib64 et al)? References: <45A18BC2.2060503@rowe-clan.net> <20070108100023.GA4408@redhat.com> In-Reply-To: <20070108100023.GA4408@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Joe Orton wrote: > On Sun, Jan 07, 2007 at 06:09:38PM -0600, William Rowe wrote: >> There is a very slick feature in perl, burried quite deeply, that >> might be useful for our users of ./configure (and apr's as well.) >> >> loclibpth/locincpth define the system search order > > They don't, though. The *toolchain* defines the header/library search > paths and there is no portable way to extract those paths from the > toolchain. configure code which requires knowledge of the search paths > is hence inevitably broken and non-portable, and usually fails to obey > CPPFLAGS/LDFLAGS to boot. Yes - but where we arbitrarily extend the toolchain's search path in our configure script - that's where we fall into a pit. I'm suggesting some method to keep ourselves from shooting users in the foot. If it's defined by the toolchain, so be it. If you add a LDFLAGS -lpath that's fine. I'm suggesting, in the absence of a lib in the path, that we not arbitrarily invent search orders throughout our .m4 detection hacks, and make them into a unified default list that can be overridden.