summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2019-02-28 09:38:09 +0100
committerUli Schlachter <psychon@znc.in>2019-03-14 17:42:28 +0000
commit81102cc214814cac8c99fed08a877d8f38312e51 (patch)
tree31c8351e46c4117c4ed4267b5fefe343e3245de2
parent250ae25b0a671b9de7313c042710bbb6760248c4 (diff)
Disable sphinx build if PNG support is disabled
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2f3eed746..2d5151ae7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -828,7 +828,7 @@ CAIRO_ENABLE(symbol_lookup, symbol-lookup, auto, [
PKG_CHECK_MODULES(glib, glib-2.0, have_glib=yes, have_glib=no)
AC_SUBST(glib_CFLAGS)
AC_SUBST(glib_LIBS)
-AM_CONDITIONAL(BUILD_SPHINX, test "x$have_glib" = "xyes" -a "x$have_windows" = "xno")
+AM_CONDITIONAL(BUILD_SPHINX, test "x$have_glib" = "xyes" -a "x$have_windows" = "xno" -a "x$have_png" = "xyes")
save_LIBS="$LIBS"
AC_CHECK_LIB(rt, shm_open, shm_LIBS="-lrt")