From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkWJt-0002b1-Op for qemu-devel@nongnu.org; Sun, 24 Nov 2013 04:49:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkWJn-00060M-2U for qemu-devel@nongnu.org; Sun, 24 Nov 2013 04:49:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:16379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkWJm-00060H-Qs for qemu-devel@nongnu.org; Sun, 24 Nov 2013 04:49:30 -0500 Date: Sun, 24 Nov 2013 11:52:39 +0200 From: "Michael S. Tsirkin" Message-ID: <20131124095239.GA30786@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] configure: make it possible to disable IASL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Richard Henderson , Stefan Hajnoczi , Anthony Liguori , Paolo Bonzini Useful for platforms with a broken IASL. Signed-off-by: Michael S. Tsirkin --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0592ba7..d0a0abe 100755 --- a/configure +++ b/configure @@ -1080,6 +1080,7 @@ echo " --source-path=PATH path of source code [$source_path]" echo " --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]" echo " --cc=CC use C compiler CC [$cc]" echo " --iasl=IASL use ACPI compiler IASL [$iasl]" +echo " iasl='' (empty string) disables ACPI compiler" echo " --host-cc=CC use C compiler CC [$host_cc] for code run at" echo " build time" echo " --cxx=CXX use C++ compiler CXX [$cxx]" @@ -4269,7 +4270,7 @@ else fi echo "PYTHON=$python" >> $config_host_mak echo "CC=$cc" >> $config_host_mak -if $iasl -h > /dev/null 2>&1; then +if test "$iasl" && $iasl -h > /dev/null 2>&1; then echo "IASL=$iasl" >> $config_host_mak fi echo "CC_I386=$cc_i386" >> $config_host_mak -- MST