summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-10-24 19:54:26 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-10-24 19:54:26 +0000
commit244270f1f65375b7f95b142ad8ed863a3d7f2062 (patch)
treea5b837b2b875e6dd549b91e8be003117b557b23a /examples/Makefile.am
parent2fa4a1391242c7918ba004ee9622410224aaaaba (diff)
downloadpango-244270f1f65375b7f95b142ad8ed863a3d7f2062.tar.gz
Do not require pangoft2 unconditionally.
2006-10-24 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am (cairosimple_LDADD): Do not require pangoft2 unconditionally.
Diffstat (limited to 'examples/Makefile.am')
-rw-r--r--examples/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 82fd6604..8c2bcb79 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -187,10 +187,13 @@ noinst_PROGRAMS += cairosimple cairotwisted
cairosimple_LDADD = \
../pango/libpango-$(PANGO_API_VERSION).la \
- ../pango/libpangoft2-$(PANGO_API_VERSION).la \
../pango/libpangocairo-$(PANGO_API_VERSION).la \
$(GLIB_LIBS) \
$(CAIRO_LIBS)
+if HAVE_FREETYPE
+cairosimple_LDADD += \
+ ../pango/libpangoft2-$(PANGO_API_VERSION).la
+endif
cairotwisted_LDADD = $(cairosimple_LDADD)
endif
#########################################################