aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-02-04 01:48:02 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-02-04 01:48:02 +0100
commit32a1bf9cbb537a759c5fd8484c9eb37d5fa17d6b (patch)
tree9337465fb96edde35415bb5874a1ec7acabb53fc
parent6cc0ff8c6f108324dd2310569b870b8586930712 (diff)
downloadlibayatana-appindicator-32a1bf9cbb537a759c5fd8484c9eb37d5fa17d6b.tar.gz
libayatana-appindicator-32a1bf9cbb537a759c5fd8484c9eb37d5fa17d6b.tar.bz2
libayatana-appindicator-32a1bf9cbb537a759c5fd8484c9eb37d5fa17d6b.zip
Always check if vapigen is available when building VAPI
-rw-r--r--bindings/vala/Makefile.am6
-rw-r--r--configure.ac1
2 files changed, 5 insertions, 2 deletions
diff --git a/bindings/vala/Makefile.am b/bindings/vala/Makefile.am
index 3c17075..f80b48c 100644
--- a/bindings/vala/Makefile.am
+++ b/bindings/vala/Makefile.am
@@ -1,11 +1,12 @@
+if HAVE_INTROSPECTION
+if HAVE_VAPIGEN
+
SUBDIRS = . examples
#########################
# VAPI Files
#########################
-if HAVE_INTROSPECTION
-
if USE_GTK3
GTKVAPI = gtk+-3.0
VER=3
@@ -32,3 +33,4 @@ $(vapiprefix).vapi: $(top_builddir)/src/AppIndicator$(VER)-0.1.gir \
CLEANFILES = $(vapi_DATA)
endif
+endif
diff --git a/configure.ac b/configure.ac
index f689003..758914b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,7 @@ AM_CONDITIONAL(INTROSPECTION_TEN, [test "x$introspection_ten" = "xyes"])
###########################
AC_PATH_PROG([VALA_API_GEN], [vapigen])
+AM_CONDITIONAL(HAVE_VAPIGEN, [test "x$VALA_API_GEN" != "x"])
###########################
# Vala Compiler support