summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2010-08-12 09:09:06 -0700
committerTravis Reitter <travis.reitter@collabora.co.uk>2010-08-12 09:17:05 -0700
commit84b8c4ce3fcc8a37f02abde914ee0bbd32462cfe (patch)
tree06234ba843d2ce2c8bfaac0310dac7d40513a8f5
parentc1d6a792e503635570f796a4bf51cc9d232c7014 (diff)
Don't rely upon the vala-1.0.pc file for checking Vala version.
This .pc file is meant for internal (libvala) use only.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a4f4122a9..fff62552f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,8 +196,8 @@ AC_ARG_ENABLE(vala-bindings,
enable_vala_bindings=no )
if test x$enable_vala_bindings = xyes; then
- PKG_CHECK_MODULES(VALA,
- [vala-1.0 >= 0.9.2.97-2b08])
+ m4_ifdef([AM_PROG_VALAC], [AM_PROG_VALAC(0.9.5)],
+ [AC_MSG_ERROR([Automake >= 1.11 required for Vala bindings])])
have_vala=yes
AC_PATH_PROG(VALAC, valac, valac)