From 6a6d9758af478e9f5eae48ccf15f1cbea2cf30ed Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 27 Oct 2010 12:31:27 -0700 Subject: [PATCH] Added check to find pthread on Haiku. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]) -- 2.7.4