Skip to content
Snippets Groups Projects
Commit d33c87fc authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

HAVE_LWP_THR was renamed HAVE_THR.

parent 04e27dfe
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment