#! /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.
#
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
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
-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
/* Define if you have the <lwp/lwp.h> header file. */
#undef HAVE_LWP_LWP_H
+/* Define if you have the <mach/cthread.h> header file. */
+#undef HAVE_MACH_CTHREAD_H
+
/* Define if you have the <mach/cthreads.h> header file. */
#undef HAVE_MACH_CTHREADS_H