Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 24979 invoked by uid 500); 18 Jan 2002 18:23:29 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 24961 invoked from network); 18 Jan 2002 18:23:28 -0000 Date: Fri, 18 Jan 2002 10:23:31 -0800 From: Justin Erenkrantz To: dev@apr.apache.org Subject: Re: cvs commit: httpd-2.0 configure.in Message-ID: <20020118182331.GV17601@ebuilt.com> References: <20020118181654.48450.qmail@icarus.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020118181654.48450.qmail@icarus.apache.org> User-Agent: Mutt/1.3.25i X-AntiVirus: scanned for viruses by AMaViS 0.2.1-pre3 (http://amavis.org/) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, Jan 18, 2002 at 06:16:54PM -0000, jerenkrantz@apache.org wrote: > jerenkrantz 02/01/18 10:16:54 > > Modified: . configure.in > Log: > Per Ian's change, add the APRUTIL_EXPORT_INCLUDES vars to our environment. I told Ian that I'd switch httpd-2.0 to use apu-config instead (which is why he didn't change httpd-2.0 over). However, I chickened out because I'm not terribly happy with this segment in apu-config: --libs) if [ -f $PREFIX/lib/libexpat.la ] ; then TMP_SRCDIR=`echo "$TOP_SRCDIR/xml/expat" | sed 's/\\//\\\\\\//g'` TMP_PREFIX=`echo $PREFIX | sed 's/\\//\\\\\\//g'` LIBS=`echo "$LIBS" | sed "s/$TMP_SRCDIR/$TMP_PREFIX/g"` fi echo "$LIBS" ;; The issue is that when APR-util is *not* installed, we want to tell libtool to use the .la in our source directory, but if we *are* installed, we want to use the .la in our installed location. Currently, APRUTIL_EXPORT_LIBS points to the *full* source dir path to expat. So, if you have a previous installation of libexpat.la in $prefix/lib and use apu-config, we'll link to that instead of the one in the source dir. This may not be ideal. If anyone has any ideas, they'd be appreciated. What is there now is a bit of a hack. It works, but... -- justin