[folks] Force Vala for non-release builds.



commit d02e7f72faafc1c50f63d9b33c6daa4ee25c9ccc
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue Jan 11 15:01:45 2011 -0800

    Force Vala for non-release builds.
    
    This should make buildbot builds a little more consistent.

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0e1a5b6..5efb4b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,6 +97,14 @@ AC_ARG_ENABLE([vala],
 # will be re-set as necessary below
 AM_CONDITIONAL([HAVE_INTROSPECTION], [test "x$enable_vala" = "xyes"])
 sd=${srcdir}/
+
+# Force Vala for non-release builds
+m4_if(folks_released, [1], [],
+    [
+        enable_vala=yes
+        echo "Vala compiler required for non-release builds; requiring Vala..."
+    ])
+
 # Force Vala if generated source is missing or outdated
 if test \
         ! -e ${sd}tools/folks_import_vala.stamp -o \



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