[folks] Ensure the telepathy-vala configure check works for builddir != srcdir
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Ensure the telepathy-vala configure check works for builddir != srcdir
- Date: Wed, 11 Aug 2010 16:10:04 +0000 (UTC)
commit f22c53165a6fcc6d1d7c6e5c8b8b96047c7ea071
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Aug 11 17:08:46 2010 +0100
Ensure the telepathy-vala configure check works for builddir != srcdir
Makefile.am | 1 +
configure.ac | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 8595da7..2873ff1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,6 +13,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-docs
EXTRA_DIST = \
autogen.sh \
+ telepathy-check.vala \
$(NULL)
MAINTAINERCLEANFILES = \
diff --git a/configure.ac b/configure.ac
index 088dd2a..6af0b88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,7 +119,7 @@ AC_SUBST(TP_GLIB_LIBS)
# check for tp-glib vala bindings by compiling a trivial program
AC_MSG_CHECKING([Telepathy Vala bindings])
AS_IF(! [$VALAC $VALACFLAGS $VALAFLAGS --vapidir=$VAPIDIR --pkg telepathy-glib \
- -o /dev/null telepathy-check.vala],
+ -o /dev/null "${srcdir}/telepathy-check.vala"],
[AC_MSG_ERROR([Missing telepathy-glib Vala bindings])])
AC_MSG_RESULT([yes])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]