summaryrefslogtreecommitdiff
path: root/apr-config.in
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2002-02-04 00:05:18 +0000
committerGreg Stein <gstein@apache.org>2002-02-04 00:05:18 +0000
commit60ca9ed7c22ff1285f85dd57ff2f3f42bb0df3aa (patch)
tree93ffdef0fdf291bd15b8d08f067962af7ad1e1b0 /apr-config.in
parentc7a4203820a5c2269af0dbd007fe42e3c91b548c (diff)
downloadapr-60ca9ed7c22ff1285f85dd57ff2f3f42bb0df3aa.tar.gz
Rename the link options so we can standardize the name across our
different *-config scripts. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62903 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'apr-config.in')
-rw-r--r--apr-config.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/apr-config.in b/apr-config.in
index edb5cc57a..6851efd53 100644
--- a/apr-config.in
+++ b/apr-config.in
@@ -87,15 +87,15 @@ Known values for OPTION are:
--ldflags print linker flags
--libs print additional libraries to link against
--srcdir print APR source directory
- --apr-ld print link switch(es) for linking to APR
- --apr-libtool print the libtool inputs for linking to APR
+ --link-ld print link switch(es) for linking to APR
+ --link-libtool print the libtool inputs for linking to APR
--apr-la-file print the path to the .la file, if available
--help print this help
When linking with libtool, an application should do something like:
- APR_LIBS="\`apr-config --apr-libtool --libs\`"
+ APR_LIBS="\`apr-config --link-libtool --libs\`"
or when linking directly:
- APR_LIBS="\`apr-config --apr-ld --libs\`"
+ APR_LIBS="\`apr-config --link-ld --libs\`"
An application should use the results of --cflags, --cppflags, --includes,
and --ldflags in their build process.
@@ -162,7 +162,7 @@ while test $# -gt 0; do
--srcdir)
echo $APR_SOURCE_DIR
;;
- --apr-ld)
+ --link-ld)
if test "$location" = "installed"; then
### avoid using -L if libdir is a "standard" location like /usr/lib
echo "-L$libdir -lapr"
@@ -170,7 +170,7 @@ while test $# -gt 0; do
echo "-L$thisdir -lapr"
fi
;;
- --apr-libtool)
+ --link-libtool)
if test -f "$LA_FILE"; then
echo $LA_FILE
elif test "$location" = "installed"; then