summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-11-24 13:30:45 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-11-24 13:52:26 -0500
commit4b224df614e3597a12158268357986b61ff34d4e (patch)
tree3382dfe234f07f5b1d9254e130c92391d5554c4f
parent0906817be7282e4b7863aa5cbd4a7ec7d933d3bb (diff)
downloadtelepathy-logger-4b224df614e3597a12158268357986b61ff34d4e.tar.gz
Fail on missing gobject-instrospection makefile
On Debian the gobject-introspection build tools and the .pc are shipped into seperate packages without dependency, which is a packaging bug. To make this bug more obvious, we now fail if the makefile in /usr/share/ is missing. https://bugs.freedesktop.org/show_bug.cgi?id=43200
-rw-r--r--telepathy-logger/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/telepathy-logger/Makefile.am b/telepathy-logger/Makefile.am
index d57ea49..977ee40 100644
--- a/telepathy-logger/Makefile.am
+++ b/telepathy-logger/Makefile.am
@@ -1,6 +1,8 @@
include $(top_srcdir)/tools/flymake.mk
--include $(INTROSPECTION_MAKEFILE)
+if HAVE_INTROSPECTION
+include $(INTROSPECTION_MAKEFILE)
+endif
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --add-include-path=$(top_srcdir) -I$(top_srcdir)
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=$(top_srcdir)