From: Kurt Zeilenga Date: Thu, 18 Jan 2001 22:18:09 +0000 (+0000) Subject: fix SLP detection X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1560 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c71f03068e8aeff6a48ae90b48ad8710e935820f;p=openldap fix SLP detection --- diff --git a/configure b/configure index c61f905c08..40051035f2 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.347 2001/01/16 21:18:42 kurt Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.348 2001/01/18 17:40:26 kurt Exp # Copyright 1998-2000 The OpenLDAP Foundation. All Rights Reserved. # @@ -14206,7 +14206,7 @@ fi done - if test ac_cv_header_slp_h = yes ; then + if test $ac_cv_header_slp_h = yes ; then echo $ac_n "checking for SLPOpen in -lslp""... $ac_c" 1>&6 echo "configure:14212: checking for SLPOpen in -lslp" >&5 ac_lib_var=`echo slp'_'SLPOpen | sed 'y%./+-:%__p__%'` diff --git a/configure.in b/configure.in index 758a402b22..152e9742fc 100644 --- a/configure.in +++ b/configure.in @@ -2069,7 +2069,7 @@ dnl Check for SLPv2 Compliant API Library if test $ol_enable_slp != no ; then AC_CHECK_HEADERS( slp.h ) - if test ac_cv_header_slp_h = yes ; then + if test $ac_cv_header_slp_h = yes ; then AC_CHECK_LIB(slp, SLPOpen, [have_slp=yes], [have_slp=no]) if test $have_slp = yes ; then AC_DEFINE(HAVE_SLP, 1, [define if you have -lslp])