autoconf: check for dev86 and iasl on x86* only
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 14 May 2012 15:22:39 +0000 (16:22 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Mon, 14 May 2012 15:22:39 +0000 (16:22 +0100)
Check for this tools on x86 systems only.

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/configure
tools/configure.ac

index be7feb68bd2c91ad633eb9d9399c446f2d9546d5..4a37fe60f9147d0fd102198b5724a66f11abd1a9 100755 (executable)
@@ -2622,10 +2622,15 @@ LDFLAGS="$PREPEND_LDFLAGS $LDFLAGS $APPEND_LDFLAGS"
 
 
 
+case "$host_cpu" in
+i[3456]86|x86_64)
 
 
 
 
+    ;;
+esac
+
 # Checks for programs.
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
index 4e9cb03627d89eff88cf61b263b9f068c096a1d8..706ee132a544d09cf0df831d49fe72fdbf32e639 100644 (file)
@@ -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