apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r737754 - in /apr/apr-util/trunk: CHANGES build/apu-conf.m4
Date Mon, 26 Jan 2009 17:10:54 GMT
Author: trawick
Date: Mon Jan 26 17:10:54 2009
New Revision: 737754

URL: http://svn.apache.org/viewvc?rev=737754&view=rev
Log:
Allow the name of the lber library to be specified.

Modified:
    apr/apr-util/trunk/CHANGES
    apr/apr-util/trunk/build/apu-conf.m4

Modified: apr/apr-util/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/CHANGES?rev=737754&r1=737753&r2=737754&view=diff
==============================================================================
--- apr/apr-util/trunk/CHANGES [utf-8] (original)
+++ apr/apr-util/trunk/CHANGES [utf-8] Mon Jan 26 17:10:54 2009
@@ -1,8 +1,10 @@
                                                      -*- coding: utf-8 -*-
 Changes with APR-util 2.0.0
 
-  *) Support ldap library names with non-alphanumeric characters, such
-     as libldap-2.4.so.  [Jeff Trawick]
+  *) LDAP detection improvements: --with-ldap now supports library names 
+     containing non-alphanumeric characters, such as libldap-2.4.so.  New
+     option --with-lber can be used to override the default liblber name.
+     [Jeff Trawick]
 
 Changes with APR-util 1.4.0
 

Modified: apr/apr-util/trunk/build/apu-conf.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/build/apu-conf.m4?rev=737754&r1=737753&r2=737754&view=diff
==============================================================================
--- apr/apr-util/trunk/build/apu-conf.m4 (original)
+++ apr/apr-util/trunk/build/apu-conf.m4 Mon Jan 26 17:10:54 2009
@@ -235,6 +235,18 @@
 apu_has_ldap_other="0"
 LDADD_ldap=""
 
+AC_ARG_WITH(lber,[  --with-lber=library     lber library to use],
+  [
+    if test "$withval" = "yes"; then
+      apu_liblber_name="lber"
+    else
+      apu_liblber_name="$withval"
+    fi
+  ],
+  [
+    apu_liblber_name="lber"
+  ])
+
 AC_ARG_WITH(ldap-include,[  --with-ldap-include=path  path to ldap include files with trailing
slash])
 AC_ARG_WITH(ldap-lib,[  --with-ldap-lib=path    path to ldap lib file])
 AC_ARG_WITH(ldap,[  --with-ldap=library     ldap library to use],
@@ -273,7 +285,7 @@
     fi
 
     test ${apu_has_ldap} != "1" && AC_MSG_ERROR(could not find an LDAP library)
-    AC_CHECK_LIB(lber, ber_init)
+    AC_CHECK_LIB($apu_liblber_name, ber_init)
 
     AC_CHECK_HEADERS(lber.h, lber_h=["#include <lber.h>"])
 



Mime
View raw message