configure: Allow to build tools without pixman

If pixman is not installed, it is currently not possible to run:

 .../configure  --disable-system --enable-tools

Seems like there was a dependency from one of the required source
files to pixman in the past, but since commit 1ac0206b2a
("qemu-timer.c: Trim list of included headers"), this dependency
should be gone. Thus allow to compile the tools without pixman now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 20200723141123.14765-1-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Thomas Huth 2020-07-23 16:11:23 +02:00 committed by Gerd Hoffmann
parent 2c9728c0db
commit 9b52b17ba5

2
configure vendored
View File

@ -4065,7 +4065,7 @@ fi
########################################## ##########################################
# pixman support probe # pixman support probe
if test "$want_tools" = "no" && test "$softmmu" = "no"; then if test "$softmmu" = "no"; then
pixman_cflags= pixman_cflags=
pixman_libs= pixman_libs=
elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then