summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-08-17 17:57:38 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-08-17 17:57:38 +0000
commit69a7a16fd7d6dfcc21f3c4d508a505e38c93b1f6 (patch)
tree494f2caf2fa87ca93c16c2a87ce37829124a175e /examples
parent40288378e9dd2f75ab43cea8c2ae82a25061ae53 (diff)
fixes http://bugzilla.gnome.org/show_bug.cgi?id=90839
Original commit message from CVS: fixes http://bugzilla.gnome.org/show_bug.cgi?id=90839
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am8
-rw-r--r--examples/seeking/Makefile.am4
2 files changed, 9 insertions, 3 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 84bec4658..de3c7c439 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,5 +1,11 @@
+if HAVE_FT2
+FT2_SUBDIRS=seeking
+else
+FT2_SUBDIRS=
+endif
+
if HAVE_GTK
-GTK_SUBDIRS=dynparams seeking
+GTK_SUBDIRS=dynparams $(FT2_SUBDIRS)
else
GTK_SUBDIRS=
endif
diff --git a/examples/seeking/Makefile.am b/examples/seeking/Makefile.am
index 30003e062..b1dac9c48 100644
--- a/examples/seeking/Makefile.am
+++ b/examples/seeking/Makefile.am
@@ -3,5 +3,5 @@ examples = seek spider_seek
noinst_PROGRAMS = $(examples)
# we have nothing but apps here, we can do this safely
-LIBS = $(GST_LIBS) $(GTK_LIBS) -lfreetype
-CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
+LIBS = $(GST_LIBS) $(GTK_LIBS) $(FT2_LIBS)
+CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) $(FT2_CFLAGS)