mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
HAVE_LWP_THR was renamed HAVE_THR.
This commit is contained in:
parent
04e27dfe32
commit
d33c87fc6f
@ -17,7 +17,7 @@ LDAP_LIBDIR= ../../libraries
|
||||
BUILD_OPT = "--enable-ldapd"
|
||||
BUILD_SRV = @BUILD_LDAPD@
|
||||
|
||||
XLIBS= @LDAPD_LIBS@
|
||||
XLIBS= @LDAPD_LIBS@ @LUTIL_LIBS@
|
||||
|
||||
all-local: $(PROGRAMS)
|
||||
|
||||
|
@ -47,7 +47,7 @@ detach()
|
||||
if ( ldap_debug == 0 ) {
|
||||
#endif
|
||||
for ( i = 0; i < 5; i++ ) {
|
||||
#if defined( HAVE_LWP_THR )
|
||||
#if defined( HAVE_THR )
|
||||
switch ( fork1() ) {
|
||||
#else
|
||||
switch ( fork() ) {
|
||||
|
@ -195,7 +195,7 @@ monitor_info( Connection *conn, Operation *op )
|
||||
val.bv_len = strlen( buf );
|
||||
attr_merge( e, "nbackends", vals );
|
||||
|
||||
#ifdef HAVE_LWP_THR
|
||||
#ifdef HAVE_THR
|
||||
sprintf( buf, "%d", thr_getconcurrency() );
|
||||
val.bv_val = buf;
|
||||
val.bv_len = strlen( buf );
|
||||
|
@ -58,7 +58,7 @@ typedef struct globals {
|
||||
/* Default name of kerberos srvtab file */
|
||||
char *default_srvtab;
|
||||
#endif /* HAVE_KERBEROS */
|
||||
#if defined( HAVE_LWP ) && !defined( HAVE_LWP_THR )
|
||||
#if defined( HAVE_LWP ) && !defined( HAVE_THR )
|
||||
tl_t *tsl_list;
|
||||
mon_t tsl_mon;
|
||||
#endif /* THREAD_SUNOS4_LWP */
|
||||
|
Loading…
Reference in New Issue
Block a user