mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-11-15 13:49:26 +00:00
* Rebase patches to Buildroot 2021.02-rc3 * Update Buildroot to 2021.02-rc3 * Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
Fix HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
|
|
|
|
During autoreconf GOBJECT_INTROSPECTION_CHECK could not be resolved because we
|
|
don't have introspection which provides its custom m4 macro. Reconfigure fails
|
|
with:
|
|
|
|
gdk/Makefile.am:196: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
|
|
gtk/Makefile.am:1347: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
|
|
|
|
We avoid to add a copy of introspection.m4 in the m4 directory of libgtk3 by
|
|
adding a check, as performed in Systemd.
|
|
|
|
Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1685,7 +1685,10 @@
|
|
# GObject introspection
|
|
##################################################
|
|
|
|
-GOBJECT_INTROSPECTION_CHECK(introspection_required_version)
|
|
+m4_ifdef([GOBJECT_INTROSPECTION_CHECK],
|
|
+ [GOBJECT_INTROSPECTION_CHECK(introspection_required_version)],
|
|
+ [AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
|
|
+ enable_introspection=no])
|
|
|
|
##################################################
|
|
# colord module
|