#! /bin/sh
# $OpenLDAP$
-# from OpenLDAP: pkg/ldap/configure.in,v 1.391 2002/01/20 21:31:12 kurt Exp
+# from OpenLDAP: pkg/ldap/configure.in,v 1.392 2002/01/21 01:07:29 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/cthread.h cthread.h
+ for ac_hdr in mach/cthreads.h cthreads.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_cthread_h = yes \
- -o $ac_cv_header_cthread_h = yes ; then
+ if test $ac_cv_header_mach_cthreads_h = yes \
+ -o $ac_cv_header_cthreads_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/cthread.h cthread.h)
- if test $ac_cv_header_mach_cthread_h = yes \
- -o $ac_cv_header_cthread_h = yes ; then
+ AC_CHECK_HEADERS(mach/cthreads.h cthreads.h)
+ if test $ac_cv_header_mach_cthreads_h = yes \
+ -o $ac_cv_header_cthreads_h = yes ; then
ol_with_threads=found
- dnl check for cthread support in current $LIBS
+ dnl check for cthreads support in current $LIBS
AC_CHECK_FUNC(cthread_fork,[ol_link_threads=yes])
if test $ol_link_threads = no ; then
/* Define if you have the <crypt.h> header file. */
#undef HAVE_CRYPT_H
-/* Define if you have the <cthread.h> header file. */
-#undef HAVE_CTHREAD_H
+/* Define if you have the <cthreads.h> header file. */
+#undef HAVE_CTHREADS_H
/* Define if you have the <db.h> header file. */
#undef HAVE_DB_H
/* 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