[PATCH] autoconf: check for dev86 and iasl on x86* only

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] autoconf: check for dev86 and iasl on x86* only

Roger Pau Monné-3
Check for this tools on x86 systems only.

Rerun autogen after applying this patch.

Cc: Ian Campbell <[hidden email]>
Signed-off-by: Roger Pau Monne <[hidden email]>
---
 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)


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel