Received: from eggs.gnu.org ([2001:4830:134:3::10]:35844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSLlR-00072X-Mq for qemu-devel@nongnu.org; Tue, 04 Jul 2017 07:13:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSLlN-00023i-KQ for qemu-devel@nongnu.org; Tue, 04 Jul 2017 07:13:05 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:33928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSLlN-00022y-Df for qemu-devel@nongnu.org; Tue, 04 Jul 2017 07:13:01 -0400 Received: by mail-wm0-x244.google.com with SMTP id p204so25633069wmg.1 for ; Tue, 04 Jul 2017 04:13:01 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 4 Jul 2017 13:12:15 +0200 Message-Id: <1499166735-39360-23-git-send-email-pbonzini@redhat.com> In-Reply-To: <1499166735-39360-1-git-send-email-pbonzini@redhat.com> References: <1499166735-39360-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 22/22] configure: warn on untested --disable-tcg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: rth@twiddle.net, thuth@redhat.com, anthony.xu@intel.com, berrange@redhat.com, a.rigo@virtualopensystems.com, yang.zhong@intel.com --disable-tcg will almost certainly fail to compile on non-x86 platforms, so issue a warning. Reviewed-by: Richard Henderson Reviewed-by: Daniel P. Berrange Signed-off-by: Paolo Bonzini --- configure | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure b/configure index 806658c..3109836 100755 --- a/configure +++ b/configure @@ -1771,6 +1771,13 @@ if test "$solaris" = "yes" ; then fi fi +if test "$tcg" = no; then + case "$cpu" in + i386 | x86_64) ;; + *) echo "WARNING: --disable-tcg not supported on this host, compilation may fail" ;; + esac +fi + if test -z "${target_list+xxx}" ; then for target in $default_target_list; do supported_target $target 2>/dev/null && \ -- 1.8.3.1