Backout previous change. It breaks specification of pthreads via

the environment.  A more general solution is needed.
This commit is contained in:
Kurt Zeilenga 1999-03-25 19:51:54 +00:00
parent 90ebcb8bd9
commit 37ff5e356f
2 changed files with 352 additions and 406 deletions

748
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -617,19 +617,9 @@ if test $ol_with_threads = auto -o $ol_with_threads = yes \
dnl pthread_mutex_trylock() in -lpthreads -lexc (OSF/1)
dnl
dnl hack the Pthread detection problem in IRIX 6*
save_LIBS="$LIBS"
case "$host_os" in
irix6*) AC_CHECK_LIB(pthread, main, [LTHREAD_LIBS="$LTHREAD_LIBS -lpthread" LIBS="-lpthread $LIBS"]);;
esac
dnl pthread_create in $LIBS
AC_CHECK_FUNC(pthread_create,[ol_link_threads=yes])
LIBS="$save_LIBS"
if test $ol_link_threads = no ; then
dnl try -mt
AC_CACHE_CHECK([for pthread_create with -mt],