summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 46bee5224ce4..3a4d0eb795ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11702,7 +11702,7 @@ AC_SUBST(POPPLER_LIBS)
# Skia?
AC_MSG_CHECKING([whether to build Skia])
ENABLE_SKIA=
-if test "$enable_skia" != "no" -a "$build_skia" = "yes"; then
+if test "$enable_skia" != "no" -a "$build_skia" = "yes" -a -z "$DISABLE_GUI"; then
if test "$enable_skia" = "debug"; then
AC_MSG_RESULT([yes (debug)])
ENABLE_SKIA_DEBUG=TRUE