httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern A. Zeeb" <>
Subject http-ldap / util_ldap.h only working with threads enabled
Date Sat, 13 Jul 2002 16:24:57 GMT

was just looking at http-ldap CVS checkout from yesterday and

When compiling on FreeBSD threads are disabled by default in apache2
as stated in INSTALL.

compiling --with-ldap will fail because include/util_ldap.h uses
apr_thread_mutex_t but as APR_HAS_THREADS is defined 0
that struct (typedefed somewhere else) from
is not known.

ldap-aaa and ldap-cache also seem to depend on threads.

My question now is:

a) ldap stuff should also work without threads ? so can someone who
   knows the code please have a look at and change it to also work
   without threads.

b) please check for threads in configure when you need
   them and do not allow the user to compile without; I am not
   talking about -lpthread, which will also be found on FreeBSD,
   but --{enable,disable}-threads.
   [ ok, this may be tricky within actual build framework but
     this should no longer be necessary if a) is done ;-) ]

Thanks in advance.

Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message