Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 1260 invoked by uid 500); 17 Sep 2002 17:28:24 -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 1249 invoked from network); 17 Sep 2002 17:28:24 -0000 X-Authentication-Warning: mako.covalent.net: dougm owned process doing -bs Date: Tue, 17 Sep 2002 10:21:14 -0700 (PDT) From: Doug MacEachern To: Justin Erenkrantz cc: Subject: Re: compile/link of apr based programs In-Reply-To: <20020917171938.GC19707@apache.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 17 Sep 2002, Justin Erenkrantz wrote: > You need to use apu-config. -- justin ah, closer but apu-config --link-ld gives me -L/.../lib -laprutil rather than -laprutil-0 if test "$location" = "installed"; then ### avoid using -L if libdir is a "standard" location like /usr/lib flags="$flags -L$libdir -laprutil" else flags="$flags -L$thisdir -laprutil-${APRUTIL_MAJOR_VERSION}" fi