You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2009/06/10 05:34:22 UTC
svn commit: r783196 - in /apr/apr-util/branches/1.3.x: CHANGES apu-config.in
Author: bojan
Date: Wed Jun 10 03:34:22 2009
New Revision: 783196
URL: http://svn.apache.org/viewvc?rev=783196&view=rev
Log:
Expose DBM libs through apu-1-config.
Modified:
apr/apr-util/branches/1.3.x/CHANGES
apr/apr-util/branches/1.3.x/apu-config.in
Modified: apr/apr-util/branches/1.3.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/CHANGES?rev=783196&r1=783195&r2=783196&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/CHANGES [utf-8] (original)
+++ apr/apr-util/branches/1.3.x/CHANGES [utf-8] Wed Jun 10 03:34:22 2009
@@ -1,6 +1,11 @@
-*- coding: utf-8 -*-
Changes with APR-util 1.3.8
+ *) Expose DBM libs in apu-1-config by default. To avoid that, use
+ apu-1-config --avoid-dbm --libs. To get just DBM libs, use
+ apu-1-config --dbm-libs.
+ [Bojan Smojver]
+
*) Make sure --without-ldap works.
[Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>]
Modified: apr/apr-util/branches/1.3.x/apu-config.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/apu-config.in?rev=783196&r1=783195&r2=783196&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/apu-config.in (original)
+++ apr/apr-util/branches/1.3.x/apu-config.in Wed Jun 10 03:34:22 2009
@@ -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"