]> git.ipfire.org Git - thirdparty/qemu.git/commit - configure
configure: build SDL if only SDL2 available
authorCole Robinson <crobinso@redhat.com>
Fri, 6 May 2016 18:03:07 +0000 (14:03 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 11 May 2016 06:02:40 +0000 (08:02 +0200)
commitee8466d0ea1db1d19e1d56817df0668eeb6924eb
tree6924d89583479070a765952794362e15b80dab51
parent56f289f383a871e871f944c7226920b35794efe6
configure: build SDL if only SDL2 available

Right now if SDL2 is installed but not SDL1, default configure will
entirely disable SDL. Check upfront for SDL2 using pkg-config, but
still prefer SDL1 if both versions are installed.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Message-id: c9e570b5964d128a3595efe3170129a3da459776.1462557436.git.crobinso@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
configure