[libvirt PATCH 17/20] meson: options: drop yajl

Ján Tomko posted 20 patches 3 months, 1 week ago
There is a newer version of this series
[libvirt PATCH 17/20] meson: options: drop yajl
Posted by Ján Tomko 3 months, 1 week ago
Drop the yajl option and all references to it.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
 libvirt.spec.in   | 1 -
 meson.build       | 2 +-
 meson_options.txt | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index b9f9f5ed45..e0c616627e 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1484,7 +1484,6 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
   -Dtests=disabled \
   -Dudev=disabled \
   -Dwireshark_dissector=disabled \
-  -Dyajl=disabled
   %{?enable_werror}
 %mingw_ninja
 %endif
diff --git a/meson.build b/meson.build
index 837b209232..e8c19d8725 100644
--- a/meson.build
+++ b/meson.build
@@ -1378,7 +1378,7 @@ if wireshark_dep.found()
 endif
 
 yajl_version = '2.0.3'
-yajl_dep = dependency('yajl', version: '>=' + yajl_version, required: get_option('yajl'))
+yajl_dep = dependency('yajl', version: '>=' + yajl_version, required: false)
 if yajl_dep.found()
   # Kludge for yajl include path on non-Linux
   #
diff --git a/meson_options.txt b/meson_options.txt
index 122cda0350..3dc3e8667b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -51,7 +51,6 @@ option('udev', type: 'feature', value: 'auto', description: 'udev support')
 # dep:driver_remote
 option('wireshark_dissector', type: 'feature', value: 'auto', description: 'wireshark support')
 option('wireshark_plugindir', type: 'string', value: '', description: 'wireshark plugins directory for use when installing wireshark plugin')
-option('yajl', type: 'feature', value: 'auto', description: 'yajl support')
 
 
 # build driver options
-- 
2.45.2