[libchamplain/libchamplain-0-4] Check whether vala is really installed



commit 304d7887473719dd4123d45f54741e03bdab12a4
Author: JiÅ?í Techet <techet gmail com>
Date:   Sun May 23 12:43:26 2010 +0200

    Check whether vala is really installed
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 configure.ac |    4 ++++
 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,
   [



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