From 32d5aa068bdd3f70381387e668aeaee1235c39ac Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Sat, 15 Feb 2020 12:40:45 +0800 Subject: [PATCH] make --enable-virtualwindow available for standalone runmode --- configure.ac | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index cb2ce26d..8d058203 100644 --- a/configure.ac +++ b/configure.ac @@ -837,15 +837,17 @@ if test "x$runtime_mode" == "xprocs"; then [ --enable-compositing enable compositing schema (MiniGUI-Processes runmode only) ], compositing_schema=$enableval) - AC_ARG_ENABLE(virtualwindow, -[ --enable-virtualwindow enable virtual window for MiniGUI-Processes runmode ], - virtual_window=$enableval) - AC_ARG_ENABLE(shmopen, [ --enable-shmopen use shm_open ], use_shmopen=$enableval) fi +if test "x$runtime_mode" != "xths"; then + AC_ARG_ENABLE(virtualwindow, +[ --enable-virtualwindow enable virtual window for MiniGUI-Processes or MiniGUI-Standalone runmode ], + virtual_window=$enableval) +fi + dnl Set up the Null video driver. CheckDummyVideo() { @@ -1722,7 +1724,6 @@ case "$runtime_mode" in AC_DEFINE(_MGRM_STANDALONE, 1, [Define if build MiniGUI-Standalone]) MINIGUI_RUNMODE="sa" - virtual_window="no" ;; ths) AC_DEFINE(_MGRM_THREADS, 1, @@ -2744,8 +2745,8 @@ AC_MSG_NOTICE([ ## Global Features: * Operating system: ${osname} * Runtime mode: ${runtime_mode} - * Surface schema: ${surface_schema} * Virtual Window: ${virtual_window} + * Surface schema: ${surface_schema} * Use shm_open: ${use_shmopen} * Incore resource: ${incore_res} * Developer mode: ${devel_mode}