]> git.proxmox.com Git - mirror_qemu.git/commit
configure / meson: Move the GBM handling to meson.build
authorThomas Huth <thuth@redhat.com>
Tue, 13 Jul 2021 11:09:02 +0000 (13:09 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 6 Sep 2021 08:00:14 +0000 (10:00 +0200)
commit8bc5184d23c2f95727021844895a24c0579928b2
tree91500cd626cebd5dad33794410917cb1461e0fb4
parent6c22853c733efd0a3d243bab48f8af66588f4a7a
configure / meson: Move the GBM handling to meson.build

The GBM library detection does not need to be in the configure script,
since it does not have any user-facing options (there are no
--enable-gbm or --disable-gbm switches). Let's move it to meson.build
instead, so we don't have to clutter config-host.mak with the related
switches.

Additionally, only check for GBM if it is really required, i.e. if we
either compile with OpenGL or with virglrenderer support.

Message-Id: <20210714085045.797168-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
configure
contrib/vhost-user-gpu/meson.build
meson.build