configure: Allow to build tools without pixman
authorThomas Huth <thuth@redhat.com>
Thu, 23 Jul 2020 14:11:23 +0000 (16:11 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 24 Jul 2020 15:36:03 +0000 (17:36 +0200)
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 1ac0206b2ae1ffaeec56
("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>
configure

index 4bd80ed507aaf90e6b714f5f54b266394c5062fd..2acc4d1465f8165ae3a238784231a1c50d3b0d4f 100755 (executable)
--- a/configure
+++ b/configure
@@ -4065,7 +4065,7 @@ fi
 ##########################################
 # pixman support probe
 
-if test "$want_tools" = "no" && test "$softmmu" = "no"; then
+if test "$softmmu" = "no"; then
   pixman_cflags=
   pixman_libs=
 elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then