summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--examples/Makefile.am7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 290e5651..8b9933bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-15 Stefan Kost <ensonic@users.sf.net>
+
+ * examples/Makefile.am:
+ Only built scaletempo example if we have gtk.
+
2008-09-13 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtpmanager/gstrtpbin.c: (create_session),
diff --git a/examples/Makefile.am b/examples/Makefile.am
index e4b5c6e2..245f070d 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,3 +1,8 @@
+if HAVE_GTK
+GTK_EXAMPLES=scaletempo
+else
+GTK_EXAMPLES=
+endif
if USE_DIRECTFB
DIRECTFB_DIR=directfb
@@ -5,5 +10,5 @@ else
DIRECTFB_DIR=
endif
-SUBDIRS= $(DIRECTFB_DIR) app switch scaletempo
+SUBDIRS= $(DIRECTFB_DIR) $(GTK_EXAMPLES) app switch
DIST_SUBDIRS= directfb app switch scaletempo