summaryrefslogtreecommitdiff
path: root/apr-config.in
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2009-03-28 21:25:19 +0000
committerRuediger Pluem <rpluem@apache.org>2009-03-28 21:25:19 +0000
commite2f424b99955b3fd56a85ff7ce0527b0a686a6fe (patch)
tree28909f1fa7db122902a04757888f1c5fbe955281 /apr-config.in
parent6c8d4b2f5f7ad47bf9dbd7ad6a58db13dce84e65 (diff)
downloadapr-e2f424b99955b3fd56a85ff7ce0527b0a686a6fe.tar.gz
* Add --ldap-libs to apr-config to emit the same information apu-config
previously did about the LDAP libraries that need to be linked. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@759593 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'apr-config.in')
-rw-r--r--apr-config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/apr-config.in b/apr-config.in
index 84b407356..e6b518137 100644
--- a/apr-config.in
+++ b/apr-config.in
@@ -44,6 +44,7 @@ APR_BUILD_DIR="@apr_builddir@"
APR_SO_EXT="@so_ext@"
APR_LIB_TARGET="@export_lib_target@"
APR_LIBNAME="@APR_LIBNAME@"
+LDAP_LIBS="@LDADD_ldap@"
# NOTE: the following line is modified during 'make install': alter with care!
location=@APR_CONFIG_LOCATION@
@@ -64,6 +65,7 @@ Known values for OPTION are:
--includes print include information
--ldflags print linker flags
--libs print additional libraries to link against
+ --ldap-libs print additional library information to link with ldap
--srcdir print APR source directory
--installbuilddir print APR build helper directory
--link-ld print link switch(es) for linking to APR
@@ -148,6 +150,9 @@ while test $# -gt 0; do
--libs)
flags="$flags $LIBS"
;;
+ --ldap-libs)
+ flags="$flags $LDAP_LIBS"
+ ;;
--ldflags)
flags="$flags $LDFLAGS"
;;