mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Fix bogus SunOS/Solaris LWP tests.
This commit is contained in:
parent
72ecc42de1
commit
312fe11024
4
configure
vendored
4
configure
vendored
@ -3250,7 +3250,7 @@ else
|
||||
fi
|
||||
done
|
||||
|
||||
if test $ac_cv_header_lwp_lwp_h = yes ; then
|
||||
if test $ac_cv_header_thread_h = yes -a $ac_cv_header_synch_h = yes ; then
|
||||
echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6
|
||||
echo "configure:3256: checking for thr_create in -lthread" >&5
|
||||
ac_lib_var=`echo thread'_'thr_create | sed 'y%./+-%__p_%'`
|
||||
@ -3346,7 +3346,7 @@ else
|
||||
fi
|
||||
done
|
||||
|
||||
if test $ac_cv_header_thread_h = yes -a $ac_cv_header_synch_h = yes ; then
|
||||
if test $ac_cv_header_lwp_lwp_h = yes ; then
|
||||
echo $ac_n "checking for lwp_create in -llwp""... $ac_c" 1>&6
|
||||
echo "configure:3352: checking for lwp_create in -llwp" >&5
|
||||
ac_lib_var=`echo lwp'_'lwp_create | sed 'y%./+-%__p_%'`
|
||||
|
@ -501,7 +501,7 @@ fi
|
||||
if test $ol_with_threads = auto -o $ol_with_threads = lwp ; then
|
||||
dnl check for SunOS5 LWP
|
||||
AC_CHECK_HEADERS(thread.h synch.h)
|
||||
if test $ac_cv_header_lwp_lwp_h = yes ; then
|
||||
if test $ac_cv_header_thread_h = yes -a $ac_cv_header_synch_h = yes ; then
|
||||
AC_CHECK_LIB(thread, thr_create, [have_lwp=yes], [have_lwp=no])
|
||||
|
||||
if test $have_lwp = yes ; then
|
||||
@ -516,7 +516,7 @@ if test $ol_with_threads = auto -o $ol_with_threads = lwp ; then
|
||||
|
||||
dnl check for SunOS4 LWP
|
||||
AC_CHECK_HEADERS(lwp/lwp.h)
|
||||
if test $ac_cv_header_thread_h = yes -a $ac_cv_header_synch_h = yes ; then
|
||||
if test $ac_cv_header_lwp_lwp_h = yes ; then
|
||||
AC_CHECK_LIB(lwp, lwp_create, [have_lwp=yes], [have_lwp=no])
|
||||
|
||||
if test $have_lwp = yes ; then
|
||||
|
Loading…
Reference in New Issue
Block a user