configure: Don't permit SDL or GTK on OSX
commita30878e708c2149ce07d709a8b62edd944628449
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Aug 2015 15:10:52 +0000 (14 16:10 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Aug 2015 19:29:30 +0000 (19 20:29 +0100)
tree4487d1d73f74df5f5dae0d69772ce4530a7e8afe
parent20fbcfdd58ea47607a5755979d43f8c48ac93f08
configure: Don't permit SDL or GTK on OSX

The cocoa GUI frontend assumes it is the only GUI (it redefines
main() so it always gets control before the rest of QEMU), so
it does not play well with other UIs like SDL or GTK. (Mostly
people building QEMU on OSX don't have the necessary dependencies
available for configure to build those other front ends, so
mostly this problem goes unnoticed.)

Make configure automatically disable the SDL and GTK front ends
if the cocoa front end is enabled. (We were sort of attempting
to do this for SDL before, but not in a way that worked very well.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 1439565052-3457-1-git-send-email-peter.maydell@linaro.org
configure