summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2010-07-21 22:34:05 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-07-21 22:34:05 +0300
commitfd1e731c9d0af307ebde4d888866c95bd6ebe66d (patch)
treef9b5b6d14849461fd3e9e9bb889f2ec25ffbb4c5 /build
parent108b1c7825116ed3f93aa57384bbd3290cdc9181 (diff)
build: Fix pthread detection code when there isn't one.
The code was testing the output variable $use_pthread rather than the input variable $enable_pthread when checking that pthreads were actually found when requested.
Diffstat (limited to 'build')
-rw-r--r--build/configure.ac.pthread2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/configure.ac.pthread b/build/configure.ac.pthread
index 7097b388..4210c151 100644
--- a/build/configure.ac.pthread
+++ b/build/configure.ac.pthread
@@ -243,7 +243,7 @@ AC_DEFUN([CAIRO_CONFIGURE_PTHREAD],[dnl
fi
dnl Make sure we scored some pthreads.
- if test "x$use_pthread" = "xyes" -a "x$have_pthread" != "xyes"; then
+ if test "x$enable_pthread" = "xyes" -a "x$have_pthread" != "xyes"; then
AC_MSG_ERROR([pthread requested but not found])
fi