]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: support explicitly disabling netcf
authorLaine Stump <laine@redhat.com>
Thu, 21 Jan 2021 21:01:06 +0000 (16:01 -0500)
committerLaine Stump <laine@redhat.com>
Sun, 31 Jan 2021 07:43:31 +0000 (02:43 -0500)
commit06169a115d46d8870a96d293c2faf6ea87e71020
tree176e1f930166d0fabc2d2c89853d79eb8d6633ad
parent4ab0d1844a1e60def576086edc8b2c3775e7c10d
build: support explicitly disabling netcf

placing "-Dnetcf=disabled" on the meson commandline was ignored,
meaning that even with that option the build would get WITH_NETCF if
the netcf-devel package was found - the only way to disable it was to
uninstall netcf-devel.

This patch adds the small bit of logic to check the netcf meson
commandline option (in addition to whether netcf-devel is installed)
before defining WITH_NETCF.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
meson.build