From: Kurt Zeilenga Date: Sat, 19 Sep 1998 05:08:14 +0000 (+0000) Subject: Optimizer eliminated the pthread_create() call. X-Git-Tag: PHP3_TOOL_0_0~18^2~100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=832024aa2730bbbcac23cae057ce8ec90069568f;p=openldap Optimizer eliminated the pthread_create() call. --- diff --git a/configure.in b/configure.in index 6b5abd5d29..c3b54bace3 100644 --- a/configure.in +++ b/configure.in @@ -266,7 +266,7 @@ dnl AC_DEFINE(HAVE_LINUX_THREADS,1) save_LIBS="$LIBS" LIBS="-pthread $LIBS" AC_TRY_LINK([#include ],[ - if(0) pthread_create((pthread_t*) 0, + pthread_create((pthread_t*) 0, (pthread_attr_t*) 0, 0, 0); ], cf_cv_pthread_flag=yes, cf_cv_pthread_flag=no) dnl restore the LIBS