mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Fix DCE detection.
This commit is contained in:
parent
a76130b705
commit
df104514a8
2 changed files with 222 additions and 221 deletions
|
|
@ -338,11 +338,11 @@ if test $ol_with_threads = auto -o $ol_with_threads = posix ; then
|
||||||
AC_CHECK_LIB(pthread, pthread_create, [
|
AC_CHECK_LIB(pthread, pthread_create, [
|
||||||
AC_DEFINE(HAVE_DCE)
|
AC_DEFINE(HAVE_DCE)
|
||||||
ol_link_threads=posix
|
ol_link_threads=posix
|
||||||
LTHREAD_LIBS="$LTHREAD_LIBS -lpthread -lmach -lexc -lc"],,
|
LTHREAD_LIBS="$LTHREAD_LIBS -lpthread -lmach -lexc -lc"
|
||||||
if test $ol_with_preemptive = auto ; then
|
if test $ol_with_preemptive = auto ; then
|
||||||
ol_with_preemptive=yes
|
ol_with_preemptive=yes
|
||||||
fi
|
fi
|
||||||
[-lmach -lexc -lc])
|
],,[-lmach -lexc -lc])
|
||||||
LIBS="$save_LIBS"
|
LIBS="$save_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -557,7 +557,7 @@ if test $ol_link_threads = no ; then
|
||||||
|
|
||||||
if test $ol_with_threads = auto ; then
|
if test $ol_with_threads = auto ; then
|
||||||
AC_MSG_WARN([no suitable thread support, disabling threads])
|
AC_MSG_WARN([no suitable thread support, disabling threads])
|
||||||
ol_with_threads = no
|
ol_with_threads=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_DEFINE(NO_THREADS,1)
|
AC_DEFINE(NO_THREADS,1)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue