mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Optimizer eliminated the pthread_create() call.
This commit is contained in:
parent
f41beb9ecf
commit
832024aa27
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ dnl AC_DEFINE(HAVE_LINUX_THREADS,1)
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
LIBS="-pthread $LIBS"
|
LIBS="-pthread $LIBS"
|
||||||
AC_TRY_LINK([#include <pthread.h>],[
|
AC_TRY_LINK([#include <pthread.h>],[
|
||||||
if(0) pthread_create((pthread_t*) 0,
|
pthread_create((pthread_t*) 0,
|
||||||
(pthread_attr_t*) 0, 0, 0);
|
(pthread_attr_t*) 0, 0, 0);
|
||||||
], cf_cv_pthread_flag=yes, cf_cv_pthread_flag=no)
|
], cf_cv_pthread_flag=yes, cf_cv_pthread_flag=no)
|
||||||
dnl restore the LIBS
|
dnl restore the LIBS
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue