From 21d680e665c44cae01a9e9dfe653396e6f15097b Mon Sep 17 00:00:00 2001 From: thommay Date: Tue, 8 Jul 2003 17:54:32 +0000 Subject: Allow querying of the version of the DB libraries APU linked against. * apu-config.in: - new option --db-version. * includes/apu.h.in: - new #define APU_HAVE_DB_VERSION git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58912 13f79535-47bb-0310-9956-ffa450edef68 --- apu-config.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apu-config.in') diff --git a/apu-config.in b/apu-config.in index 3c508dd6..6ac75b4b 100644 --- a/apu-config.in +++ b/apu-config.in @@ -73,6 +73,7 @@ APRUTIL_LIBNAME="@APRUTIL_LIBNAME@" APU_SOURCE_DIR="@abs_srcdir@" APU_BUILD_DIR="@abs_builddir@" APR_XML_EXPAT_OLD="@APR_XML_EXPAT_OLD@" +APU_DB_VERSION="@apu_db_version@" show_usage() { @@ -91,6 +92,7 @@ Known values for OPTION are: --link-libtool print the libtool inputs for linking to APR-util --apu-la-file print the path to the .la file, if available --old-expat indicate if APR-util was built against an old expat + --db-version print the DB version --version print APR-util's version as a dotted triple --help print this help @@ -238,6 +240,10 @@ while test $# -gt 0; do fi exit 0 ;; + --db-version) + echo $APU_DB_VERSION + exit 0 + ;; --help) show_usage exit 0 -- cgit v1.2.1