-ldb* is never added to APRUTIL_EXPORT_LIBS so that apu-config.in ->
apu-1-config
can report on whats there using (i.e. from subversion)
A patch, waiting on upstream decision.... (T-1 one day before I just drop in
for now)
--
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci ([email protected]) c: 703.336.9354
Consultant - P6M7G8 Inc. http://p6m7g8.net
Senior Sys Admin - RideCharge, Inc. http://ridecharge.com
Contractor - PositiveEnergyUSA http://positiveenergyusa.com
ASF Member - Apache Software Foundation http://apache.org
FreeBSD Committer - FreeBSD Foundation http://freebsd.org
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
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 $LDAP_LIBS $DBM_LIBS $LIBS"
;;
--ldap-libs)
flags="$flags $LDAP_LIBS"
;;
+ --dbm-libs)
+ flags="$flags $DBM_LIBS"
+ ;;
--includedir)
if test "$location" = "installed"; then
flags="$includedir"