[libsecret] Don't try to build test-vala-lang if !HAVE_INTROSPECTION or !ENABLE_VAPIGEN
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret] Don't try to build test-vala-lang if !HAVE_INTROSPECTION or !ENABLE_VAPIGEN
- Date: Sun, 8 Jul 2012 16:05:55 +0000 (UTC)
commit 8339f296e884c85cfe7f74f66a0d60323e6b7b9a
Author: Martyn Russell <martyn lanedo com>
Date: Sun Jul 8 17:00:43 2012 +0100
Don't try to build test-vala-lang if !HAVE_INTROSPECTION or !ENABLE_VAPIGEN
* libsecret- SECRET_MAJOR@.vapi is built only with those 2 defines and these
were not checked before depending that target for the test case
Found during jhbuild run
library/tests/Makefile.am | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/library/tests/Makefile.am b/library/tests/Makefile.am
index fe0e86e..994c41e 100644
--- a/library/tests/Makefile.am
+++ b/library/tests/Makefile.am
@@ -75,10 +75,16 @@ VALA_V = $(VALA_V_$(V))
VALA_V_ = $(VALA_V_$(AM_DEFAULT_VERBOSITY))
VALA_V_0 = @echo " VALAC " $^;
+if HAVE_INTROSPECTION
+if ENABLE_VAPIGEN
+
VALA_TESTS = \
test-vala-lang \
$(NULL)
+endif
+endif
+
test-vala-lang.c: test-vala-lang.vala libsecret- SECRET_MAJOR@.vapi mock-service-0.vapi
$(VALA_V)$(VALAC) -C --pkg gio-2.0 $^
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]