summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÍñigo Huguet <ihuguet@redhat.com>2024-04-04 08:56:16 +0200
committerÍñigo Huguet <inigohuguet@hotmail.com>2024-04-04 08:13:38 +0000
commitded7b78a7b497c51cf2384cef556c21472678d0c (patch)
tree3aa199ddcbd06d6684dea53a6763b2df8efd75db
parent873e66a03e2ba92c17f6b48ff8fbb3709688f3ea (diff)
meson: remove version checks for old versions
We now only support meson >= 0.51, as it is defined in project(..., meson_version: '>= 0.51.0'). Remove checks for versions older than that.
-rw-r--r--introspection/meson.build10
-rw-r--r--meson.build1
2 files changed, 2 insertions, 9 deletions
diff --git a/introspection/meson.build b/introspection/meson.build
index 77479277ac..81afa7d674 100644
--- a/introspection/meson.build
+++ b/introspection/meson.build
@@ -80,14 +80,8 @@ foreach iface: ifaces
endif
content_files += dbus_iface_xml_path
-
- # res is an array only since 0.46. Documentation won't work with
- # older versions
- if meson.version().version_compare('>= 0.46.0')
- introspection_files += [ [res[2], dbus_iface_xml_path] ]
- headers += res[1]
- endif
-
+ introspection_files += [ [res[2], dbus_iface_xml_path] ]
+ headers += res[1]
endforeach
install_data(
diff --git a/meson.build b/meson.build
index 88184784e6..66142d6b09 100644
--- a/meson.build
+++ b/meson.build
@@ -1002,7 +1002,6 @@ endif
if enable_docs
assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
- assert(meson.version().version_compare('>= 0.49.0'), '-Ddocs requires meson >= 0.49')
subdir('man')
subdir('docs')
meson.add_dist_script(