summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d536cb5b5..ab23ce650 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,9 +7,11 @@ SUBDIRS = \
telepathy-glib \
$(NULL)
+if HAVE_INTROSPECTION
if HAVE_VALA
SUBDIRS += vala
endif
+endif
SUBDIRS += \
extensions \
diff --git a/configure.ac b/configure.ac
index 78ab93805..d73b746b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,6 +213,10 @@ AC_ARG_ENABLE(vala-bindings,
enable_vala_bindings=no )
if test x$enable_vala_bindings = xyes; then
+ if test "x$INTROSPECTION_SCANNER" = x; then
+ AC_MSG_ERROR([GObject-Introspection must be enabled for Vala bindings])
+ fi
+
m4_ifdef([AM_PROG_VALAC], [AM_PROG_VALAC(0.9.3)],
[AC_MSG_ERROR([Automake >= 1.11 required for Vala bindings])])
have_vala=yes