From 7386f71683ae7c0ad3cc742a746b36603cbfe7b5 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 15 Sep 2008 09:34:14 +0000 Subject: [PATCH] examples/Makefile.am: Only built scaletempo example if we have gtk. Original commit message from CVS: * examples/Makefile.am: Only built scaletempo example if we have gtk. --- ChangeLog | 5 +++++ examples/Makefile.am | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 290e565147..8b9933bf01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-15 Stefan Kost + + * examples/Makefile.am: + Only built scaletempo example if we have gtk. + 2008-09-13 Wim Taymans * gst/rtpmanager/gstrtpbin.c: (create_session), diff --git a/examples/Makefile.am b/examples/Makefile.am index e4b5c6e297..245f070d44 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