[gobject-introspection] tests: Don't build regress if we don't HAVE_CAIRO
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] tests: Don't build regress if we don't HAVE_CAIRO
- Date: Tue, 14 Sep 2010 17:09:41 +0000 (UTC)
commit c29368bab2ad74958376576d18365898c6b7ca39
Author: Colin Walters <walters verbum org>
Date: Tue Sep 14 13:05:48 2010 -0400
tests: Don't build regress if we don't HAVE_CAIRO
https://bugzilla.gnome.org/show_bug.cgi?id=629359
tests/scanner/Makefile.am | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
index 0fae2e0..1801c45 100644
--- a/tests/scanner/Makefile.am
+++ b/tests/scanner/Makefile.am
@@ -10,8 +10,11 @@ testlib_LTLIBRARIES = \
libtestinherit.la \
libfoo.la \
libutility.la \
- libregress.la \
libgtkfrob.la
+if HAVE_CAIRO
+testlib_LTLIBRARIES += libregress.la
+endif
+
testlibdir = $(prefix)/unused
install-testlibLTLIBRARIES: # prevent it from being installed
@@ -53,7 +56,9 @@ Regress-1.0.gir: $(top_builddir)/gir/Gio-2.0.gir libregress.la
Regress_1_0_gir_LIBS = libregress.la
Regress_1_0_gir_INCLUDES = cairo-1.0 Gio-2.0
Regress_1_0_gir_FILES = $(libregress_la_SOURCES)
+if HAVE_CAIRO
GIRS += Regress-1.0.gir
+endif
Annotation-1.0.gir: Utility-1.0.gir libannotation.la
Annotation_1_0_gir_PACKAGES = gobject-2.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]