summaryrefslogtreecommitdiff
path: root/apu-config.in
diff options
context:
space:
mode:
authorsussman <sussman@13f79535-47bb-0310-9956-ffa450edef68>2002-11-05 21:08:31 +0000
committersussman <sussman@13f79535-47bb-0310-9956-ffa450edef68>2002-11-05 21:08:31 +0000
commit2632a53eba0afb0701b9af6c6f3763c99346af76 (patch)
treed1a057ebc99b9a731a170849951a7b50aab11ea5 /apu-config.in
parent2084049fc0843d781959fd88dcb2ba4a7487337a (diff)
downloadlibapr-util-2632a53eba0afb0701b9af6c6f3763c99346af76.tar.gz
* apu-config.in: add a --version switch, just like apr-config.in
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'apu-config.in')
-rw-r--r--apu-config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/apu-config.in b/apu-config.in
index b688bf6c..81528937 100644
--- a/apu-config.in
+++ b/apu-config.in
@@ -90,6 +90,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
+ --version print APR-util's version as a dotted triple
--help print this help
When linking with libtool, an application should do something like:
@@ -173,6 +174,10 @@ while test $# -gt 0; do
echo $APU_SOURCE_DIR
exit 0
;;
+ --version)
+ echo $APRUTIL_DOTTED_VERSION
+ exit 0
+ ;;
--link-ld)
if test "$location" = "installed"; then
### avoid using -L if libdir is a "standard" location like /usr/lib