build: Don't build cairo-sphinx when the tee surface is off

cairo-sphinx depends on cairo-tee, which is not always enabled.

Reported-by: James Cloos <cloos@jhcloos.com>
This commit is contained in:
Andrea Canciani 2011-06-16 09:22:54 +02:00
parent f409f74dec
commit 3a504282ef

View file

@ -21,9 +21,11 @@ endif
if BUILD_SPHINX
if CAIRO_HAS_SCRIPT_SURFACE
if CAIRO_HAS_TEE_SURFACE
SUBDIRS += cairo-sphinx
endif
endif
endif
AM_CPPFLAGS = -I$(top_srcdir)/src \
-I$(top_builddir)/src \