Skip to content

Commit 81102cc

Browse files
wasamasapsychon
authored andcommitted
Disable sphinx build if PNG support is disabled
1 parent 250ae25 commit 81102cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ CAIRO_ENABLE(symbol_lookup, symbol-lookup, auto, [
828828
PKG_CHECK_MODULES(glib, glib-2.0, have_glib=yes, have_glib=no)
829829
AC_SUBST(glib_CFLAGS)
830830
AC_SUBST(glib_LIBS)
831-
AM_CONDITIONAL(BUILD_SPHINX, test "x$have_glib" = "xyes" -a "x$have_windows" = "xno")
831+
AM_CONDITIONAL(BUILD_SPHINX, test "x$have_glib" = "xyes" -a "x$have_windows" = "xno" -a "x$have_png" = "xyes")
832832

833833
save_LIBS="$LIBS"
834834
AC_CHECK_LIB(rt, shm_open, shm_LIBS="-lrt")

0 commit comments

Comments
 (0)