After applying this small patch series, you'll be able to build QEMU on Mac OS X without both SDL and Cocoa frontends. First two patches deal with raw-posix, which is the only CONFIG_COCOA user not related to GUI. The third patch adds '--disable-cocoa' switch to configure.
Pavel Borzenkov (3): raw-posix: Remove dead code raw-posix: Do not use CONFIG_COCOA macro configure: add '--disable-cocoa' switch block/raw-posix.c | 26 ++++---------------------- configure | 9 +++++++-- 2 files changed, 11 insertions(+), 24 deletions(-) -- 1.7.5.4