Modify NT Threads check to use AC_CHECK_FUNC(_beginthread)

This commit is contained in:
Kurt Zeilenga 1999-11-02 01:35:20 +00:00
parent daa7907b4f
commit 709f5ecb90
2 changed files with 476 additions and 435 deletions

View file

@ -700,12 +700,9 @@ dnl ====================================================================
dnl Check for NT Threads dnl Check for NT Threads
AC_DEFUN([OL_NT_THREADS], [ AC_DEFUN([OL_NT_THREADS], [
AC_CACHE_CHECK([for NT Threads], [ol_cv_nt_threads], [ AC_CACHE_CHECK([for NT Threads], [ol_cv_nt_threads], [
# bogus test AC_CHECK_FUNC(_beginthread,
if test $ac_cv_mingw32 = yes ; then [ol_cv_nt_threads=yes],
ol_cv_nt_threads=yes [ol_cv_nt_threads=no])
else
ol_cv_nt_threads=no
fi
]) ])
if test $ol_cv_nt_threads = yes ; then if test $ol_cv_nt_threads = yes ; then

894
configure vendored

File diff suppressed because it is too large Load diff