From: Kurt Zeilenga Date: Mon, 21 Jan 2002 02:07:27 +0000 (+0000) Subject: Correct cthread typos X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6232d90320b096f4d2fce300ffa0ff0d0f50a92e;p=openldap Correct cthread typos --- diff --git a/configure b/configure index 7b045a7983..83e13d2100 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.390 2002/01/20 21:25:11 kurt Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.391 2002/01/20 21:31:12 kurt Exp # Copyright 1998-2002 The OpenLDAP Foundation. All Rights Reserved. # @@ -11987,7 +11987,7 @@ fi if test $ol_with_threads = auto -o $ol_with_threads = yes \ -o $ol_with_threads = mach ; then - for ac_hdr in mach/cthreads.h cthread.h + for ac_hdr in mach/cthread.h cthread.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -12027,8 +12027,8 @@ else fi done - if test "${ac_cv_header_mach_cthreads_h}" = yes -o \ - "${ac_cv_header_cthreads_h}" = yes ; then + if test $ac_cv_header_mach_cthread_h = yes \ + -o $ac_cv_header_cthread_h = yes ; then ol_with_threads=found echo $ac_n "checking for cthread_fork""... $ac_c" 1>&6 diff --git a/configure.in b/configure.in index bf7696389c..646a0ff168 100644 --- a/configure.in +++ b/configure.in @@ -1593,9 +1593,9 @@ if test $ol_with_threads = auto -o $ol_with_threads = yes \ -o $ol_with_threads = mach ; then dnl check for Mach CThreads - AC_CHECK_HEADERS(mach/cthreads.h cthread.h) - if test "${ac_cv_header_mach_cthreads_h}" = yes -o \ - "${ac_cv_header_cthreads_h}" = yes ; then + AC_CHECK_HEADERS(mach/cthread.h cthread.h) + if test $ac_cv_header_mach_cthread_h = yes \ + -o $ac_cv_header_cthread_h = yes ; then ol_with_threads=found dnl check for cthread support in current $LIBS diff --git a/include/portable.h.in b/include/portable.h.in index 2d77ad4ceb..c5b5753ed4 100644 --- a/include/portable.h.in +++ b/include/portable.h.in @@ -421,6 +421,9 @@ /* Define if you have the header file. */ #undef HAVE_LWP_LWP_H +/* Define if you have the header file. */ +#undef HAVE_MACH_CTHREAD_H + /* Define if you have the header file. */ #undef HAVE_MACH_CTHREADS_H