mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
Clean up begin thread test
This commit is contained in:
parent
9adfb3552a
commit
d633ab3e2a
@ -708,13 +708,9 @@ AC_DEFUN([OL_HEADER_GNU_PTH_PTHREAD_H], [
|
||||
dnl ====================================================================
|
||||
dnl Check for NT Threads
|
||||
AC_DEFUN([OL_NT_THREADS], [
|
||||
AC_CACHE_CHECK([for NT Threads], [ol_cv_nt_threads], [
|
||||
AC_CHECK_FUNC(_beginthread,
|
||||
[ol_cv_nt_threads=yes],
|
||||
[ol_cv_nt_threads=no])
|
||||
])
|
||||
AC_CHECK_FUNC(_beginthread)
|
||||
|
||||
if test $ol_cv_nt_threads = yes ; then
|
||||
if test $ac_cv_func__beginthread = yes ; then
|
||||
AC_DEFINE(HAVE_NT_THREADS,1,[if you have NT Threads])
|
||||
fi
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user