1 Fix HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
3 During autoreconf GOBJECT_INTROSPECTION_CHECK could not be resolved because we
4 don't have introspection which provides its custom m4 macro. Reconfigure fails
7 gdk/Makefile.am:196: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
8 gtk/Makefile.am:1347: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
10 We avoid to add a copy of introspection.m4 in the m4 directory of libgtk3 by
11 adding a check, as performed in Systemd.
13 Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
17 @@ -1621,7 +1621,10 @@
18 # GObject introspection
19 ##################################################
21 -GOBJECT_INTROSPECTION_CHECK(introspection_required_version)
22 +m4_ifdef([GOBJECT_INTROSPECTION_CHECK],
23 + [GOBJECT_INTROSPECTION_CHECK(introspection_required_version)],
24 + [AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
25 + enable_introspection=no])
27 ##################################################