meson: move zlib detection to meson
commit1ffb3bbb3cb1273a2ad17599dbe82f9c8d3682a2
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Aug 2020 17:33:54 +0000 (28 19:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Sep 2020 12:51:32 +0000 (1 08:51 -0400)
treef8877e6fe1ab45fc6a386a3b383dde8dd7744acc
parent771f0fb8c59a0d229909b92cd8ce0284de2f2325
meson: move zlib detection to meson

Meson includes the same logic that tries to look for -lz if
pkg-config (and cmake) cannot find zlib.  The undocumented
--disable-zlib-test option becomes a no-op.

There is still an instance of "-lz" in the LIBS directory.
It will go away as soon as tests are converted to meson,
because the zlib dependency does not propagate from libblock.fa
to the Makefile-build unit tests.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
meson.build