diff options
author | thommay <thommay@13f79535-47bb-0310-9956-ffa450edef68> | 2003-07-08 17:54:32 +0000 |
---|---|---|
committer | thommay <thommay@13f79535-47bb-0310-9956-ffa450edef68> | 2003-07-08 17:54:32 +0000 |
commit | 21d680e665c44cae01a9e9dfe653396e6f15097b (patch) | |
tree | 5e6d0141bcbea8adea3236610fed3b148d91c38d /apu-config.in | |
parent | 21e84f191118fe8ff04f9bb5dd4766585ec44751 (diff) | |
download | libapr-util-21d680e665c44cae01a9e9dfe653396e6f15097b.tar.gz |
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
Diffstat (limited to 'apu-config.in')
-rw-r--r-- | apu-config.in | 6 |
1 files changed, 6 insertions, 0 deletions
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 |