Lines Matching full:cairo
472 AC_ARG_ENABLE([cairo-tests],
473 [AS_HELP_STRING([--enable-cairo-tests],
474 [Enable support for Cairo rendering in tests (default: auto)])],
475 [CAIRO=$enableval], [CAIRO=auto])
476 if test "x$CAIRO" != xno; then
477 PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no])
479 AC_MSG_CHECKING([whether to enable Cairo tests])
480 if test "x$CAIRO" = xauto; then
481 CAIRO="$HAVE_CAIRO"
483 if test "x$CAIRO" = xyes; then
485 AC_MSG_ERROR([Cairo support required but not present])
487 AC_DEFINE(HAVE_CAIRO, 1, [Have Cairo support])
491 AC_MSG_RESULT([$CAIRO])
492 AM_CONDITIONAL(HAVE_CAIRO, [test "x$CAIRO" = xyes])