[cairo-commit] build/configure.ac.pthread

M. Joonas Pihlaja joonas at kemper.freedesktop.org
Wed Jul 21 12:35:51 PDT 2010


 build/configure.ac.pthread |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fd1e731c9d0af307ebde4d888866c95bd6ebe66d
Author: Hib Eris <hib at hiberis.nl>
Date:   Wed Jul 21 22:34:05 2010 +0300

    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.

diff --git a/build/configure.ac.pthread b/build/configure.ac.pthread
index 7097b38..4210c15 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
 


More information about the cairo-commit mailing list