]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: check for pixman-1 version
authorHu Tao <hutao@cn.fujitsu.com>
Mon, 15 Sep 2014 03:41:10 +0000 (11:41 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 15 Sep 2014 06:14:19 +0000 (08:14 +0200)
commit236f282c1c7bb41b0ec3b3d771ca652eb85ed81f
tree262e8f3b85de04941d1b731cc4a64e0f28843e21
parent122abbe5fca8104d71d92a4dd850a14420f9373c
configure: check for pixman-1 version

commit a93a3af9 introduces use of PIXMAN_TYPE_RGBA, but it's only available
in pixman >= 0.21.8. If pixman doesn't meet the version requirement, qemu
will fail to build with following message:

qemu/ui/qemu-pixman.c: In function ‘qemu_pixelformat_from_pixman’:
qemu/ui/qemu-pixman.c:42: error: ‘PIXMAN_TYPE_RGBA’ undeclared (first use in this function)
qemu/ui/qemu-pixman.c:42: error: (Each undeclared identifier is reported only once
qemu/ui/qemu-pixman.c:42: error: for each function it appears in.)

This patch fixes the problem by checking the pixman version.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
configure