configure: move malloc_trim/tcmalloc/jemalloc to meson
commitaa087962d7af6a2caa2caa0c449b76d01042c05a
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Sep 2020 15:15:30 +0000 (1 11:15 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:11:36 +0000 (30 19:11 +0200)
treeefa6389628fc40fdaaa07fbbf5a606e2dfd4b908
parent43b43a4027aefceff3bf7df86a109dd945ac6d49
configure: move malloc_trim/tcmalloc/jemalloc to meson

Because LIBS is not used anymore, tcmalloc/jemalloc does
not work with binaries whose description is in Meson.
The fix is simply to move them to Meson too.

For consistency with other configure options, specifying
--enable-malloc-trim together with --enable-{tc,je}malloc
becomes a fatal error.

Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
meson.build
meson_options.txt