summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Techet <techet@gmail.com>2010-05-23 12:43:26 +0200
committerJiří Techet <techet@gmail.com>2010-05-23 12:43:26 +0200
commit304d7887473719dd4123d45f54741e03bdab12a4 (patch)
tree6bc793d30b9af180e0254fb0a1eb434271fddfa5
parentf38f8562c661269daa21ea82025f9ad6949e48bb (diff)
downloadlibchamplain-304d7887473719dd4123d45f54741e03bdab12a4.tar.gz
Check whether vala is really installed
Signed-off-by: Jiří Techet <techet@gmail.com>
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e3fd0c4..c03b987 100644
--- a/configure.ac
+++ b/configure.ac
@@ -222,6 +222,10 @@ AC_ARG_ENABLE(vala,
if test x$enable_vala = xyes; then
AM_PROG_VALAC([0.8.0])
+ if test "x$VALAC" = "x" ; then
+ AC_MSG_ERROR([Cannot find the "valac" compiler in your PATH])
+ fi
+
LAUNCHER_PACKAGES="--pkg clutter-1.0 --pkg champlain-0.4"
PKG_CHECK_MODULES(LAUNCHER,
[