[grilo/0.1.x] configure: Honour VAPIDIR environment variable
- From: SimÃn Pena <spenap src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo/0.1.x] configure: Honour VAPIDIR environment variable
- Date: Wed, 23 Nov 2011 18:05:58 +0000 (UTC)
commit a19c5e079ebc97fa22635aca9a77fd8da05411b0
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Wed Nov 23 19:03:40 2011 +0100
configure: Honour VAPIDIR environment variable
configure.ac | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index de90df1..1aea79b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,7 +203,9 @@ if test "x$enable_vala" != "xno"; then
AC_MSG_ERROR([No Vala compiler found.])
fi
- VAPIDIR=`$PKG_CONFIG --variable=vapidir $valapkg`
+ if test "x$VAPIDIR" = "x"; then
+ VAPIDIR=`$PKG_CONFIG --variable=vapidir $valapkg`
+ fi
AC_SUBST([VAPIDIR])
AC_PATH_PROG([VALA_GEN_INTROSPECT], [vala-gen-introspect])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]