apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: 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 23:58:41 GMT
On Fri, Dec 17, 2004 at 09:08:12PM +0200, Graham Leggett wrote:
> Joe Orton wrote:
> 
> >>+    AC_CHECK_HEADERS(ldap.h, ldap_h=["#include <ldap.h>"], [],
> >>+[#if HAVE_LBER_H
> >>+# include <lber.h>
> >>+# endif
> >>+])
> 
> >This breaks with autoconf 2.13.  Is everyone happy with requiring
> >autoconf 2.5x for the 1.0.x branch too?
> 
> Is there another way of doing this without breaking autoconf 2.13?

Preferably following the good example from apr/configure.in:

AC_CACHE_CHECK([for netinet/tcp.h], [apr_cv_hdr_netinet_tcp_h],
...

but optionally following the bad example:

   ac_includes_default="$ac_includes_default
#if HAVE_SYS_MUTEX_H /* needed to define lock_t for sys/shm.h */
...

> Solaris' LDAP library expects lber.h to be loaded before ldap.h. ldap.h 
> does not work on it's own.



Mime
View raw message