[grilo] build: Honor BUILD_GRILO_PLS conditional for example code



commit 777d4452ee85bfe60b2318e19ec1e9d15b1c5866
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 10 00:14:14 2014 -0500

    build: Honor BUILD_GRILO_PLS conditional for example code
    
    This was breaking the Continuous build.

 examples/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 2432e5d..86d9c10 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,13 +1,16 @@
 AM_CFLAGS = $(DEPS_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/src/data
 LDADD = $(DEPS_LIBS) $(top_builddir)/src/lib GRL_NAME@.la
 
-noinst_PROGRAMS = browsing browsing-pls configuring-plugins efficient-metadata-resolution      \
+noinst_PROGRAMS = browsing configuring-plugins efficient-metadata-resolution   \
        loading-plugins multivalues searching
 
 browsing_SOURCES = browsing.c
 
+if BUILD_GRILO_PLS
+noinst_PROGRAMS += browsing-pls
 browsing_pls_SOURCES = browsing-pls.c
 browsing_pls_LDADD = $(LDADD) $(top_builddir)/libs/pls/libgrlpls- GRL_MAJORMINOR@.la
+endif
 
 configuring_plugins_SOURCES = configuring-plugins.c
 


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