diff options
author | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2002-02-04 00:05:18 +0000 |
---|---|---|
committer | gstein <gstein@13f79535-47bb-0310-9956-ffa450edef68> | 2002-02-04 00:05:18 +0000 |
commit | 9b94b3705e8a7cef891c30a2d6cc6c6f472e11c6 (patch) | |
tree | 93ffdef0fdf291bd15b8d08f067962af7ad1e1b0 /apr-config.in | |
parent | 946499c90be49ab97a7bbac3d828a3b14fd2a25a (diff) | |
download | libapr-9b94b3705e8a7cef891c30a2d6cc6c6f472e11c6.tar.gz |
Rename the link options so we can standardize the name across our
different *-config scripts.
git-svn-id: http://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.in | 12 |
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 |