logrotate: enable selinux support
[buildroot-gz.git] / package / libgtk3 / 0002-fix-introspection-check.patch
blob4c2806d81918f40e4dc2f3b060daa2af4d9cacfb
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
5 with:
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>
15 --- a/configure.ac
16 +++ b/configure.ac
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 ##################################################
28 # colord module