Commit 312fe110 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix bogus SunOS/Solaris LWP tests.

parent 72ecc42d
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment