apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r122648 - /apr/apr-util/branches/1.0.x/CHANGES /apr/apr-util/branches/1.0.x/build/apu-conf.m4
Date Fri, 17 Dec 2004 16:11:19 GMT
Author: minfrin
Date: Fri Dec 17 08:11:18 2004
New Revision: 122648

URL: http://svn.apache.org/viewcvs?view=rev&rev=122648
Log:
Fix the detection of ldap.h on Solaris - it needs lber.h to be defined first.

Modified:
   apr/apr-util/branches/1.0.x/CHANGES
   apr/apr-util/branches/1.0.x/build/apu-conf.m4

Modified: apr/apr-util/branches/1.0.x/CHANGES
Url: http://svn.apache.org/viewcvs/apr/apr-util/branches/1.0.x/CHANGES?view=diff&rev=122648&p1=apr/apr-util/branches/1.0.x/CHANGES&r1=122647&p2=apr/apr-util/branches/1.0.x/CHANGES&r2=122648
==============================================================================
--- apr/apr-util/branches/1.0.x/CHANGES	(original)
+++ apr/apr-util/branches/1.0.x/CHANGES	Fri Dec 17 08:11:18 2004
@@ -1,5 +1,8 @@
 Changes with APR-util 1.0.2
 
+  *) Fix the detection of ldap.h on Solaris - it needs lber.h to be
+     defined first. [Graham Leggett]
+
   *) Add a build script to create a solaris package. [Graham Leggett]
 
 Changes with APR-util 1.0.1

Modified: apr/apr-util/branches/1.0.x/build/apu-conf.m4
Url: http://svn.apache.org/viewcvs/apr/apr-util/branches/1.0.x/build/apu-conf.m4?view=diff&rev=122648&p1=apr/apr-util/branches/1.0.x/build/apu-conf.m4&r1=122647&p2=apr/apr-util/branches/1.0.x/build/apu-conf.m4&r2=122648
==============================================================================
--- apr/apr-util/branches/1.0.x/build/apu-conf.m4	(original)
+++ apr/apr-util/branches/1.0.x/build/apu-conf.m4	Fri Dec 17 08:11:18 2004
@@ -275,8 +275,12 @@
     test ${apu_has_ldap} != "1" && AC_MSG_ERROR(could not find an LDAP library)
     AC_CHECK_LIB(lber, ber_init)
 
-    AC_CHECK_HEADERS(ldap.h, ldap_h=["#include <ldap.h>"])
     AC_CHECK_HEADERS(lber.h, lber_h=["#include <lber.h>"])
+    AC_CHECK_HEADERS(ldap.h, ldap_h=["#include <ldap.h>"], [],
+[#if HAVE_LBER_H
+# include <lber.h>
+# endif
+])
     AC_CHECK_HEADERS(ldap_ssl.h, ldap_ssl_h=["#include <ldap_ssl.h>"])
 
     CPPFLAGS=$save_cppflags

Mime
View raw message