1*c342db35SBrad BishopFrom 35267d995a81263b98f0ad56399ac3e30f9cf152 Mon Sep 17 00:00:00 2001
2*c342db35SBrad BishopFrom: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3*c342db35SBrad BishopDate: Tue, 30 Apr 2019 09:48:08 +0200
4*c342db35SBrad BishopSubject: [PATCH] configure.ac: Detect vala-api version if not set explicitly
5*c342db35SBrad BishopMIME-Version: 1.0
6*c342db35SBrad BishopContent-Type: text/plain; charset=UTF-8
7*c342db35SBrad BishopContent-Transfer-Encoding: 8bit
8*c342db35SBrad Bishop
9*c342db35SBrad BishopUpstream-Status: Pending
10*c342db35SBrad Bishop
11*c342db35SBrad BishopSigned-off-by: Andreas Müller <schnitzeltony@gmail.com>
12*c342db35SBrad Bishop---
13*c342db35SBrad Bishop configure.ac | 2 +-
14*c342db35SBrad Bishop 1 file changed, 1 insertion(+), 1 deletion(-)
15*c342db35SBrad Bishop
16*c342db35SBrad Bishopdiff --git a/configure.ac b/configure.ac
17*c342db35SBrad Bishopindex 9bf4230..c489385 100644
18*c342db35SBrad Bishop--- a/configure.ac
19*c342db35SBrad Bishop+++ b/configure.ac
20*c342db35SBrad Bishop@@ -38,7 +38,7 @@ AC_ARG_WITH([vala-api],
21*c342db35SBrad Bishop 		AC_HELP_STRING([--with-vala-api=VERSION],
22*c342db35SBrad Bishop 				[Use Vala API version VERSION]),
23*c342db35SBrad Bishop 		[vala_api=$withval],
24*c342db35SBrad Bishop-		[vala_api='0.16'])
25*c342db35SBrad Bishop+		[vala_api=`$PKG_CONFIG --variable=vapidir_versioned vapigen | sed -e 's:.*vala-::' -e s:/vapi::`])
26*c342db35SBrad Bishop M8T_CHECK_VALA([$vala_api])
27*c342db35SBrad Bishop AC_ARG_WITH([default-vapidir],
28*c342db35SBrad Bishop 		AC_HELP_STRING([--with-default-vapidir],
29*c342db35SBrad Bishop--
30*c342db35SBrad Bishop2.20.1
31*c342db35SBrad Bishop
32