From dev-return-21823-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Tue Jun 09 08:01:24 2009 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 82792 invoked from network); 9 Jun 2009 08:01:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jun 2009 08:01:24 -0000 Received: (qmail 71105 invoked by uid 500); 9 Jun 2009 08:01:35 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 71023 invoked by uid 500); 9 Jun 2009 08:01:35 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 71015 invoked by uid 99); 9 Jun 2009 08:01:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 08:01:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bojan@rexursive.com designates 150.101.121.179 as permitted sender) Received: from [150.101.121.179] (HELO beauty.rexursive.com) (150.101.121.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 08:01:28 +0000 Received: from [10.1.120.24] (shrek.rexursive.com [10.1.120.24]) by beauty.rexursive.com (Postfix) with ESMTP id 136828C177; Tue, 9 Jun 2009 18:01:07 +1000 (EST) Subject: Re: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7 breaks dbd support From: Bojan Smojver To: "Philip M. Gollucci" Cc: "William A. Rowe, Jr." , dev@apr.apache.org In-Reply-To: <1244532560.25532.103.camel@shrek.rexursive.com> References: <200906090316.n593GCYQ075516@frieza.p6m7g8.net> <1244520824.25532.88.camel@shrek.rexursive.com> <4A2DF79D.709@rowe-clan.net> <4A2E001E.4020806@p6m7g8.com> <1244531713.25532.95.camel@shrek.rexursive.com> <4A2E0CB8.1090701@p6m7g8.com> <1244532560.25532.103.camel@shrek.rexursive.com> Content-Type: multipart/mixed; boundary="=-rOQQAorYYCpxp12cH2dQ" Date: Tue, 09 Jun 2009 18:01:06 +1000 Message-Id: <1244534466.25532.113.camel@shrek.rexursive.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 (2.26.2-1.fc11) X-Virus-Checked: Checked by ClamAV on apache.org --=-rOQQAorYYCpxp12cH2dQ Content-Type: text/plain Content-Transfer-Encoding: 7bit On Tue, 2009-06-09 at 17:29 +1000, Bojan Smojver wrote: > PS. We do have a workaround for ldap along these lines, where we > report ldap in --libs, unless --avoid-ldap is passed to the config > script. Maybe we should do this here, to avoid breaking compilation > compatibility. Opinions? Quick and dirty... -- Bojan --=-rOQQAorYYCpxp12cH2dQ Content-Disposition: attachment; filename="apu-dbm-libs.patch" Content-Type: text/x-patch; name="apu-dbm-libs.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit Index: apu-config.in =================================================================== --- apu-config.in (revision 782876) +++ apu-config.in (working copy) @@ -31,6 +31,7 @@ INCLUDES="@APRUTIL_INCLUDES@" LDFLAGS="@APRUTIL_LDFLAGS@" LDAP_LIBS="@LDADD_ldap@" +DBM_LIBS="@LDADD_dbm_db@ @LDADD_dbm_gdbm@ @LDADD_dbm_ndbm@" APRUTIL_LIBNAME="@APRUTIL_LIBNAME@" @@ -56,6 +57,8 @@ --libs print library information --avoid-ldap do not include ldap library information with --libs --ldap-libs print additional library information to link with ldap + --avoid-dbm do not include DBM library information with --libs + --dbm-libs print additional library information to link with DBM --srcdir print APR-util source directory --link-ld print link switch(es) for linking to APR-util --link-libtool print the libtool inputs for linking to APR-util @@ -115,12 +118,18 @@ --avoid-ldap) LDAP_LIBS="" ;; + --avoid-dbm) + DBM_LIBS="" + ;; --libs) - flags="$flags $LDAP_LIBS $LIBS" + flags="$flags $DBM_LIBS $LDAP_LIBS $LIBS" ;; --ldap-libs) flags="$flags $LDAP_LIBS" ;; + --dbm-libs) + flags="$flags $DBM_LIBS" + ;; --includedir) if test "$location" = "installed"; then flags="$includedir" --=-rOQQAorYYCpxp12cH2dQ--