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