summaryrefslogtreecommitdiff
path: root/apr-config.in
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2004-08-01 00:52:20 +0000
committerJustin Erenkrantz <jerenkrantz@apache.org>2004-08-01 00:52:20 +0000
commit0de7b85bb6546a8e98418d352eeffdc7fd96387d (patch)
treefbd64f660138c73d8c13c22a8c3b5bad480ed10e /apr-config.in
parent87087f1d0518f9cc89ab5f04376195980fc9fb06 (diff)
downloadapr-0de7b85bb6546a8e98418d352eeffdc7fd96387d.tar.gz
Only install apr-$MAJOR-config and add appropriate detection code to
find_apr.m4 (APR_FIND_APR). Justin made a few changes to Max's latest patch: - Emit a warning at autoconf-time and default to [0 1] if 4th arg is missing. - Fix some tpyos - Change apr-config.in to not use multiple @APR_MAJOR_VERSION@ substs. Submitted by: Max Bowsher Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65293 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'apr-config.in')
-rw-r--r--apr-config.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/apr-config.in b/apr-config.in
index 230ad40cb..870cf888a 100644
--- a/apr-config.in
+++ b/apr-config.in
@@ -49,7 +49,7 @@ location=@APR_CONFIG_LOCATION@
show_usage()
{
cat << EOF
-Usage: apr-config [OPTION]
+Usage: apr-$APR_MAJOR_VERSION-config [OPTION]
Known values for OPTION are:
--prefix[=DIR] change prefix to DIR
@@ -75,9 +75,9 @@ Known values for OPTION are:
--help print this help
When linking with libtool, an application should do something like:
- APR_LIBS="\`apr-config --link-libtool --libs\`"
+ APR_LIBS="\`apr-$APR_MAJOR_VERSION-config --link-libtool --libs\`"
or when linking directly:
- APR_LIBS="\`apr-config --link-ld --libs\`"
+ APR_LIBS="\`apr-$APR_MAJOR_VERSION-config --link-ld --libs\`"
An application should use the results of --cflags, --cppflags, --includes,
and --ldflags in their build process.