[gnome-builder] build: check for libvala-0.34



commit ee5a87d2cdcf16c192b72d63090650ff6f3aa605
Author: Christian Hergert <christian hergert me>
Date:   Wed Jun 1 08:52:52 2016 -0700

    build: check for libvala-0.34

 plugins/vala-pack/configure.ac |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/plugins/vala-pack/configure.ac b/plugins/vala-pack/configure.ac
index 39b5f0a..fc6dd06 100644
--- a/plugins/vala-pack/configure.ac
+++ b/plugins/vala-pack/configure.ac
@@ -1,6 +1,10 @@
 VAPIGEN_CHECK
-PKG_CHECK_MODULES(VALA, [libvala-0.32],[have_libvala=yes],[have_libvala=no])
-VALA_VERSION=0.32
+PKG_CHECK_MODULES(VALA, [libvala-0.34],[have_libvala=yes],[have_libvala=no])
+VALA_VERSION=0.34
+AS_IF([test x$have_libvala = xno],[
+       PKG_CHECK_MODULES(VALA, [libvala-0.32],[have_libvala=yes],[have_libvala=no])
+       VALA_VERSION=0.32
+])
 AS_IF([test x$have_libvala = xno],[
        PKG_CHECK_MODULES(VALA, [libvala-0.30 >= 0.29.3],[have_libvala=yes],[have_libvala=no])
        VALA_VERSION=0.30


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