]> git.sur5r.net Git - openldap/commitdiff
Optimizer eliminated the pthread_create() call.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 19 Sep 1998 05:08:14 +0000 (05:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 19 Sep 1998 05:08:14 +0000 (05:08 +0000)
configure.in

index 6b5abd5d29bd05d8430efd0bf3805ec8723b28bf..c3b54bace3b933e5fd7f3e3964ff295a24529eed 100644 (file)
@@ -266,7 +266,7 @@ dnl                 AC_DEFINE(HAVE_LINUX_THREADS,1)
                                save_LIBS="$LIBS"
                                LIBS="-pthread $LIBS"
                                AC_TRY_LINK([#include <pthread.h>],[
-                                       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