Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 92545 invoked from network); 24 Mar 2009 15:04:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 15:04:47 -0000 Received: (qmail 24426 invoked by uid 500); 24 Mar 2009 15:04:47 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 24353 invoked by uid 500); 24 Mar 2009 15:04:47 -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 24345 invoked by uid 99); 24 Mar 2009 15:04:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 15:04:47 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jorton@redhat.com designates 66.187.237.31 as permitted sender) Received: from [66.187.237.31] (HELO mx2.redhat.com) (66.187.237.31) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 15:04:39 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2OF4IEV023288 for ; Tue, 24 Mar 2009 11:04:18 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2OF4CYf015992 for ; Tue, 24 Mar 2009 11:04:13 -0400 Received: from turnip.manyfish.co.uk (vpn-12-101.rdu.redhat.com [10.11.12.101]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n2OF4Hqo015588 for ; Tue, 24 Mar 2009 11:04:17 -0400 Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.69) (envelope-from ) id 1Lm8Aq-0005Ic-0i for dev@apr.apache.org; Tue, 24 Mar 2009 15:04:16 +0000 Date: Tue, 24 Mar 2009 15:04:16 +0000 From: Joe Orton To: dev@apr.apache.org Subject: Re: Modular APR Message-ID: <20090324150415.GA20328@redhat.com> Mail-Followup-To: dev@apr.apache.org References: <20090324143922.GA20061@redhat.com> <49C8F4FA.8080309@sharp.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <49C8F4FA.8080309@sharp.fm> User-Agent: Mutt/1.5.18 (2008-05-17) Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA) X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Mar 24, 2009 at 04:58:02PM +0200, Graham Leggett wrote: > If I am understanding you correctly, for a library like dbd that > contains sub-libraries, you would have libapr-db, which in turn loads > dynamic modules called (say) libapr-db-pgsql (etc)? apr_dbd.c would be linked into a library called libapr-db. Any consumer of the DBD API will be adjusted to link in this library as well as libapr, e.g. by using something like "apu-2-config --modules=db". If you build the DBD backends as DSOs, they are built as DSOs and are loaded at runtime exactly as currently. If you link them in, they get linked into libapr-db and otherwise everything works exactly as currently. Regards, Joe