[pango] Only build pangocoretext if have cairo-qaurtz



commit 5859d32ccb52496148d969086a729b56a03c44e7
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sat Sep 8 14:13:04 2012 -0400

    Only build pangocoretext if have cairo-qaurtz

 pango/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pango/Makefile.am b/pango/Makefile.am
index 435b495..bb8ccfe 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -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) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]