[anjuta] build: add support for libvala-0.22
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] build: add support for libvala-0.22
- Date: Thu, 15 Aug 2013 19:43:06 +0000 (UTC)
commit 4c8a7c8e75866651ec1744a35b865b6be6367870
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Tue Aug 6 11:17:45 2013 +0200
build: add support for libvala-0.22
To make maintenance a little bit easier in the future, rewrite the
detection to use foreach instead of nesting the checks.
configure.ac | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a2d56f4..418f236 100644
--- a/configure.ac
+++ b/configure.ac
@@ -317,11 +317,9 @@ if test "$user_disabled_vala" = 1; then
else
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if libvala is available)
- PKG_CHECK_EXISTS([ libvala-0.20 ],
- [ valaver="-0.20" ],
- [ PKG_CHECK_EXISTS([ libvala-0.18 ],
- [ valaver="-0.18" ],
- [ valaver="" ])
+ m4_foreach([VERSION], [[0.18], [0.20], [0.22]],
+ [PKG_CHECK_EXISTS([ libvala-VERSION ],
+ [ valaver="-VERSION" ])
])
if test "x$valaver" != "x"; then
AC_MSG_RESULT(yes)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]