From d33c87fc6fb88881be645109cb786ceaf213fb2f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 4 Nov 1998 22:32:18 +0000 Subject: [PATCH] HAVE_LWP_THR was renamed HAVE_THR. --- servers/ldapd/Makefile.in | 2 +- servers/slapd/detach.c | 2 +- servers/slapd/monitor.c | 2 +- servers/slurpd/globals.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/ldapd/Makefile.in b/servers/ldapd/Makefile.in index 002f02eceb..d45e02e38c 100644 --- a/servers/ldapd/Makefile.in +++ b/servers/ldapd/Makefile.in @@ -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) diff --git a/servers/slapd/detach.c b/servers/slapd/detach.c index dd6db49d69..e20c83948d 100644 --- a/servers/slapd/detach.c +++ b/servers/slapd/detach.c @@ -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() ) { diff --git a/servers/slapd/monitor.c b/servers/slapd/monitor.c index 05940823ca..73a78c8f70 100644 --- a/servers/slapd/monitor.c +++ b/servers/slapd/monitor.c @@ -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 ); diff --git a/servers/slurpd/globals.h b/servers/slurpd/globals.h index 1582d1780d..211c829ecd 100644 --- a/servers/slurpd/globals.h +++ b/servers/slurpd/globals.h @@ -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 */ -- 2.39.5