]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commitdiff
disable-opengl entry in option table should be inside CONFIG_OPENGL
authorIan Jackson <iwj@mariner.uk.xensource.com>
Thu, 12 Jun 2008 15:02:07 +0000 (16:02 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 12 Jun 2008 15:02:07 +0000 (16:02 +0100)
vl.c

diff --git a/vl.c b/vl.c
index b84d2f6735abe54ec56102cf8aa0ea59459a69a5..b4c0eec5addd7ddbb9299be5e53ff9ed048c2c5b 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -7536,7 +7536,9 @@ const QEMUOption qemu_options[] = {
     { "alt-grab", 0, QEMU_OPTION_alt_grab },
     { "no-quit", 0, QEMU_OPTION_no_quit },
 #endif
+#ifdef CONFIG_OPENGL
     { "disable-opengl", 0, QEMU_OPTION_disable_opengl },
+#endif CONFIG_OPENGL
     { "direct_pci", HAS_ARG, QEMU_OPTION_direct_pci },
     { "pidfile", HAS_ARG, QEMU_OPTION_pidfile },
     { "win2k-hack", 0, QEMU_OPTION_win2k_hack },