[gegl] Require vapigen 0.20 or greater



commit c6c881c13b6ad310af982dfd0dd34fd8711d5f66
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Tue Jun 4 23:45:28 2013 -0700

    Require vapigen 0.20 or greater

 configure.ac |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4a2d61a..a6b2bbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -414,13 +414,15 @@ AC_ARG_WITH(vala, [  --without-vala          build without Vala support])
 
 have_vapigen="no"
 if test "x$with_vala" != "xno"; then
+  PKG_CHECK_EXISTS(vapigen >= 0.20.0,
+    have_vapigen="yes",
+    have_vapigen="no  (vapigen not found)")
+fi
 
+if test "x$have_vapigen" == "xyes"; then
   AC_PATH_PROG(VAPIGEN, vapigen, no)
   if test "$VAPIGEN" = "no"; then
     have_vapigen="no  (vapigen executable not found)"
-    AC_MSG_RESULT([*** Check for vapigen failed.])
-  else
-    have_vapigen="yes"
   fi
 fi
 


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