[gsound] tools: don't try to build gsound-play if vapigen is disabled



commit 99179281364550b9bd9904c07f7d1a9e27e15c12
Author: Tristan Brindle <t c brindle gmail com>
Date:   Sat Nov 15 13:25:16 2014 +0800

    tools: don't try to build gsound-play if vapigen is disabled
    
    ...because it won't work

 tools/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tools/Makefile.am b/tools/Makefile.am
index f0dd61f..9b720f8 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,6 +1,8 @@
 
 NULL = 
 
+if ENABLE_VAPIGEN
+
 bin_PROGRAMS = gsound-play
 
 gsound_play_SOURCES = gsound-play.vala
@@ -20,5 +22,6 @@ gsound_play_LDFLAGS = \
     ${GSOUND_LIBS} \
     ${NULL}
 
+endif # ENABLE_VAPIGEN
 
 -include $(top_srcdir)/git.mk


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