[vala] vapigen.m4: use $vapigen_pkg_name as the name of the vapigen package
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] vapigen.m4: use $vapigen_pkg_name as the name of the vapigen package
- Date: Mon, 20 Aug 2012 09:28:11 +0000 (UTC)
commit c749239be2a8fa58f21accac03b35409e17d5543
Author: Alexandre Rostovtsev <tetromino gentoo org>
Date: Sun Aug 19 15:27:41 2012 -0400
vapigen.m4: use $vapigen_pkg_name as the name of the vapigen package
We should use $vapigen_pkg_name, not "vapigen", as the name of the
vapigen package; if the second parameter to VAPIGEN_CHECK is set, then
$vapigen_pkg_name != "vapigen".
Fixes bug 682203.
vapigen/vapigen.m4 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapigen/vapigen.m4 b/vapigen/vapigen.m4
index 17558df..051ccd2 100644
--- a/vapigen/vapigen.m4
+++ b/vapigen/vapigen.m4
@@ -77,12 +77,12 @@ AC_DEFUN([VAPIGEN_CHECK],
AS_CASE([$enable_vala],
[yes], [
- VAPIGEN=`$PKG_CONFIG --variable=vapigen vapigen`
- VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir vapigen`/vala/Makefile.vapigen
+ VAPIGEN=`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name`
+ VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir $vapigen_pkg_name`/vala/Makefile.vapigen
AS_IF([test "x$2" = "x"], [
- VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir vapigen`
+ VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name`
], [
- VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned vapigen`
+ VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned $vapigen_pkg_name`
])
])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]