From f1515b509037bb1dc641ae7784ff13ba61a8d50e Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 25 Jul 2014 17:50:54 +0200 Subject: Add the necessary machinery to generate the introspection data from eom Annotations are still missing, but this provides enough for basic introspection usage Based on eog commit b316c9e0b30a8c6d67feb8f21a20268e18c8cc3d From Claudio Saavedra --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d237baf..ad6932b 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,16 @@ EOM_MODULES="gtk+-$GTK_API_VERSION >= $GTK_REQUIRED \ mate-icon-theme >= $MATE_ICON_THEME_REQUIRED \ shared-mime-info >= $SHARED_MIME_INFO_REQUIRED" +# Introspection +GOBJECT_INTROSPECTION_CHECK([0.9.3]) + +if test "$found_introspection" = "yes"; then + have_introspection=yes + AC_DEFINE([HAVE_INTROSPECTION], [1], [Define to enable GObject Introspection]) +else + have_introspection=no +fi + # *************** # ZLIB (required) # *************** @@ -522,4 +532,5 @@ Configure summary: RSVG support ...............: ${have_rsvg} Colour management support ..: ${have_lcms} D-Bus activation............: ${have_dbus} + GObject Introspection.......: ${have_introspection} " -- cgit v1.2.1