apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject cvs commit: apr-util/build apu-conf.m4
Date Tue, 21 Jan 2003 14:26:41 GMT
minfrin     2003/01/21 06:26:41

  Modified:    .        CHANGES
               build    apu-conf.m4
  Log:
  Detect OpenLDAP when used with Solaris 9.
  PR: 13427
  Submitted by:	Gary Algier <gaa@ulticom.com>
  Reviewed by:	Graham Leggett
  
  Revision  Changes    Path
  1.94      +3 -0      apr-util/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr-util/CHANGES,v
  retrieving revision 1.93
  retrieving revision 1.94
  diff -u -r1.93 -r1.94
  --- CHANGES	20 Jan 2003 14:37:19 -0000	1.93
  +++ CHANGES	21 Jan 2003 14:26:41 -0000	1.94
  @@ -1,5 +1,8 @@
   Changes with APR-util 0.9.2
   
  +  *) Detect OpenLDAP when used with Solaris 9. PR 13427.
  +     [Gary Algier <gaa@ulticom.com>]
  +
     *) Detect Berkeley DB 4.1 when compiled with --with-uniquenames
        [Thom May]
   
  
  
  
  1.50      +6 -1      apr-util/build/apu-conf.m4
  
  Index: apu-conf.m4
  ===================================================================
  RCS file: /home/cvs/apr-util/build/apu-conf.m4,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- apu-conf.m4	20 Jan 2003 14:37:19 -0000	1.49
  +++ apu-conf.m4	21 Jan 2003 14:26:41 -0000	1.50
  @@ -674,6 +674,7 @@
       ldaplib=$1
       extralib=$2
       unset ac_cv_lib_${ldaplib}_ldap_init
  +    unset ac_cv_lib_${ldaplib}___ldap_init
       AC_CHECK_LIB(${ldaplib}, ldap_init, 
         [
           APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l${ldaplib} ${extralib}])
  @@ -722,9 +723,13 @@
         APU_FIND_LDAPLIB("ldapssl20")
         APU_FIND_LDAPLIB("ldap", "-llber")
         APU_FIND_LDAPLIB("ldap", "-llber -lresolv")
  +      APU_FIND_LDAPLIB("ldap", "-llber -lsocket -lnsl -lresolv")
         APU_FIND_LDAPLIB("ldap", "-ldl -lpthread")
       else
  -      APU_FIND_LDAPLIB($LDAPLIB)
  +      APU_FIND_LDAPLIB($LIBLDAP)
  +      APU_FIND_LDAPLIB($LIBLDAP, "-lresolv")
  +      APU_FIND_LDAPLIB($LIBLDAP, "-lsocket -lnsl -lresolv")
  +      APU_FIND_LDAPLIB($LIBLDAP, "-ldl -lpthread")
       fi
   
       test ${apu_has_ldap} != "1" && AC_MSG_ERROR(could not find an LDAP library)
  
  
  

Mime
View raw message