Skip to contentSkip to conversation

autoconf: check for dev86 and iasl on x86* only

PATCH In review Roger Pau Monne 2 participants 2 messages May 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autoconf: check for dev86 and iasl on x86* only

Check for this tools on x86 systems only.

Rerun autogen after applying this patch.

---
 tools/configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
tools/configure.ac +6 -0
index 57c887d..893f283 100644
@@ -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
Signature · 1 line
1.7.7.5 (Apple Git-26)