You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2009/09/10 00:48:53 UTC

svn commit: r813152 - /apr/apr/trunk/apr-config.in

Author: wrowe
Date: Wed Sep  9 22:48:53 2009
New Revision: 813152

URL: http://svn.apache.org/viewvc?rev=813152&view=rev
Log:
Revert r799085 for now; vote on the list was to retain this functionality
until the APR 2.0.0 rollout, to help ease developers into a new ldap interface,
or to drop the ldap interface altogether.

Modified:
    apr/apr/trunk/apr-config.in

Modified: apr/apr/trunk/apr-config.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/apr-config.in?rev=813152&r1=813151&r2=813152&view=diff
==============================================================================
--- apr/apr/trunk/apr-config.in (original)
+++ apr/apr/trunk/apr-config.in Wed Sep  9 22:48:53 2009
@@ -44,6 +44,7 @@
 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 @@
   --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 @@
     --libs)
     flags="$flags $LIBS"
     ;;
+    --ldap-libs)
+    flags="$flags $LDAP_LIBS"
+    ;;
     --ldflags)
     flags="$flags $LDFLAGS"
     ;;