mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Modify NT Threads check to use AC_CHECK_FUNC(_beginthread)
This commit is contained in:
parent
daa7907b4f
commit
709f5ecb90
@ -700,12 +700,9 @@ dnl ====================================================================
|
||||
dnl Check for NT Threads
|
||||
AC_DEFUN([OL_NT_THREADS], [
|
||||
AC_CACHE_CHECK([for NT Threads], [ol_cv_nt_threads], [
|
||||
# bogus test
|
||||
if test $ac_cv_mingw32 = yes ; then
|
||||
ol_cv_nt_threads=yes
|
||||
else
|
||||
ol_cv_nt_threads=no
|
||||
fi
|
||||
AC_CHECK_FUNC(_beginthread,
|
||||
[ol_cv_nt_threads=yes],
|
||||
[ol_cv_nt_threads=no])
|
||||
])
|
||||
|
||||
if test $ol_cv_nt_threads = yes ; then
|
||||
|
Loading…
Reference in New Issue
Block a user