[gexiv2] Make it possible to compile without introspection



commit e6deebc50422742734a7eb2f415bdad682df1776
Author: Jens Georg <mail jensge org>
Date:   Sat Aug 6 00:04:03 2016 +0200

    Make it possible to compile without introspection
    
    Signed-off-by: Jens Georg <mail jensge org>

 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d2baa9a..17cb807 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,6 +44,7 @@ endif
 
 vapi: gexiv2.vapi
 
+if HAVE_INTROSPECTION
 gexiv2.vapi: gexiv2_vapi.stamp
        @true
 
@@ -57,6 +58,7 @@ gexiv2_vapi.stamp: $(top_builddir)/GExiv2-0.10.gir $(abs_top_srcdir)/vapi/GExiv2
 dist_vapi_DATA = gexiv2.vapi
 EXTRA_DIST += $(top_srcdir)/vapi/GExiv2-0.10.metadata gexiv2.vapi gexiv2_vapi.stamp 
$(top_srcdir)/vapi/gexiv2-custom.vala
 DISTCLEANFILES = gexiv2.vapi gexiv2_vapi.stamp
+endif
 
 GEXIV2_GIRHEADERS = \
        $(srcdir)/gexiv2/gexiv2.h \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]