From: Roger Pau Monne Subject: [PATCH] autoconf: check for dev86 and iasl on x86* only Date: Mon, 14 May 2012 11:19:36 +0100 Message-ID: <1336990776-30127-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian Campbell , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org Check for this tools on x86 systems only. Rerun autogen after applying this patch. Cc: Ian Campbell Signed-off-by: Roger Pau Monne --- tools/configure.ac | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/tools/configure.ac b/tools/configure.ac index 57c887d..893f283 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -69,10 +69,16 @@ AC_ARG_VAR([CURL], [Path to curl-config tool]) AC_ARG_VAR([XML], [Path to xml2-config tool]) AC_ARG_VAR([BASH], [Path to bash shell]) AC_ARG_VAR([XGETTEXT], [Path to xgetttext tool]) + +dnl as86, ld86, bcc and iasl are only present in x86* systems +case "$host_cpu" in +i[[3456]]86|x86_64) AC_ARG_VAR([AS86], [Path to as86 tool]) AC_ARG_VAR([LD86], [Path to ld86 tool]) AC_ARG_VAR([BCC], [Path to bcc tool]) AC_ARG_VAR([IASL], [Path to iasl tool]) +;; +esac # Checks for programs. AC_PROG_SED -- 1.7.7.5 (Apple Git-26)