Only build pangocoretext if have cairo-qaurtz
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 8 Sep 2012 18:13:04 +0000 (14:13 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 8 Sep 2012 18:16:01 +0000 (14:16 -0400)
pango/Makefile.am

index 435b495..bb8ccfe 100644 (file)
@@ -332,6 +332,7 @@ libpangocairo_1_0_la_SOURCES += \
        pangocairo-fc.h
 endif
 
+if HAVE_CAIRO_QUARTZ
 if HAVE_CORE_TEXT
 libpangocairo_1_0_la_SOURCES += \
        modules.h               \
@@ -351,6 +352,7 @@ libpangocairo_1_0_la_LIBADD += $(INCLUDED_CORE_TEXT_MODULES)
 # We don't have an CoreText GIR right now, so this is just hypothetical
 # PANGOCAIRO_FONT_BACKEND_GI_MODULE = PangoCoreText-1.0
 endif
+endif
 
 pangocairo_introspection_files = \
     $(libpangocairo_1_0_la_SOURCES) \