From 9a3fe991fdd744485f0a59743f421c785986963b Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Mon, 14 May 2012 16:22:39 +0100 Subject: autoconf: check for dev86 and iasl on x86* only Check for this tools on x86 systems only. Signed-off-by: Roger Pau Monne Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/configure.ac | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'tools/configure.ac') diff --git a/tools/configure.ac b/tools/configure.ac index 4e9cb03627..706ee132a5 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -67,10 +67,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]) -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]) + +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_CC -- cgit v1.2.3