summaryrefslogtreecommitdiff
path: root/apu-config.in
diff options
context:
space:
mode:
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