aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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