In some configurations it might be pointless to check and
compile accelerator code. Do not deselect the accelerator,
but emit a warning.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
configure | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/configure b/configure
index a5159157a49..09e1cd8bfe6 100755
--- a/configure
+++ b/configure
@@ -5514,6 +5514,27 @@ if test $git_update = 'yes' ; then
(cd "${source_path}" && GIT="$git" "./scripts/git-submodule.sh" update
"$git_submodules")
fi
+if [ "$softmmu" = "no" ]; then
+ if [ "$tcg" = "enabled" ]; then
+ echo "WARN: TCG accelerator selected but no target requires it"
+ fi