[Xfce4-commits] <xfce4-notes-plugin:master> Quit configure script with an error on bad Vala Bindings version

Mike Massonnet noreply at xfce.org
Mon Dec 28 22:16:02 CET 2009


Updating branch refs/heads/master
         to a845b70a25345d7107f4364d1a8a8267efa54f92 (commit)
       from 2782c6c0dea01901998ca5851a2a614922e97403 (commit)

commit a845b70a25345d7107f4364d1a8a8267efa54f92
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Mon Dec 28 22:13:32 2009 +0100

    Quit configure script with an error on bad Vala Bindings version

 ChangeLog       |    7 +++++++
 configure.ac.in |    4 ++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8a69602..05b4f8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-12-28  Mike Massonnet <mmassonnet at xfce.org>
 
+Quit configure script with an error on bad Vala Bindings version
+
+When the Xfce Panel 4.6 is installed, we have to make sure the Xfce Vala
+bindings 4.6 are available but not above.
+
+2009-12-28  Mike Massonnet <mmassonnet at xfce.org>
+
 Reset above state after hidding an Xnp.Window (bug #6099)
 
 2009-12-26  Mike Massonnet <mmassonnet at xfce.org>
diff --git a/configure.ac.in b/configure.ac.in
index 7dd2fd1..9f6375d 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -64,6 +64,10 @@ if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
 		XDT_CHECK_PACKAGE([XFCE4VALA], [xfce4-vala], [4.7])
 	else
 		XDT_CHECK_PACKAGE([XFCE4VALA], [xfce4-vala], [4.6])
+		PKG_CHECK_EXISTS([xfce4-vala >= 4.7],
+				AC_ERROR([
+	*** Build configured for Xfce Panel 4.6 but  ***
+	*** Xfce Vala bindings for 4.7 are installed ***]), [])
 	fi
 fi
 



More information about the Xfce4-commits mailing list