From: Scott McCreary Date: Wed, 27 Oct 2010 19:31:27 +0000 (-0700) Subject: Added check to find pthread on Haiku. X-Git-Tag: pixman-0.20.0~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a6d9758af478e9f5eae48ccf15f1cbea2cf30ed;p=platform%2Fupstream%2Fpixman.git Added check to find pthread on Haiku. --- diff --git a/configure.ac b/configure.ac index fede3e9..0ad2d38 100644 --- a/configure.ac +++ b/configure.ac @@ -726,7 +726,8 @@ if test $support_for__thread = no; then PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LIBS="-lpthread"]) PIXMAN_CHECK_PTHREAD([CFLAGS="-pthread"; LDFLAGS="-pthread"]) - + PIXMAN_CHECK_PTHREAD([CFLAGS="-D_REENTRANT"; LDFLAGS="-lroot"]) + if test $support_for_pthread_setspecific = yes; then CFLAGS="$CFLAGS $PTHREAD_CFLAGS" AC_DEFINE([HAVE_PTHREAD_SETSPECIFIC], [], [Whether pthread_setspecific() is supported])