mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 12:08:16 +02:00
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.
This commit is contained in:
parent
108b1c7825
commit
fd1e731c9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue