[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] autoconf: check for dev86 and iasl on x86* only


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Tue, 15 May 2012 07:11:09 +0000
  • Delivery-date: Tue, 15 May 2012 07:11:20 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxx>
# Date 1337008959 -3600
# Node ID dfe39bd65137a97d18f0ee7d155d3755ae5530b4
# Parent  49ce39c88aeeb0ba58e4f0e2bf865f6981f6e99d
autoconf: check for dev86 and iasl on x86* only

Check for this tools on x86 systems only.

Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 49ce39c88aee -r dfe39bd65137 tools/configure
--- a/tools/configure   Mon May 14 16:20:33 2012 +0100
+++ b/tools/configure   Mon May 14 16:22:39 2012 +0100
@@ -2622,9 +2622,14 @@ LDFLAGS="$PREPEND_LDFLAGS $LDFLAGS $APPE
 
 
 
-
-
-
+case "$host_cpu" in
+i[3456]86|x86_64)
+
+
+
+
+    ;;
+esac
 
 # Checks for programs.
 ac_ext=c
diff -r 49ce39c88aee -r dfe39bd65137 tools/configure.ac
--- a/tools/configure.ac        Mon May 14 16:20:33 2012 +0100
+++ b/tools/configure.ac        Mon May 14 16:22:39 2012 +0100
@@ -67,10 +67,16 @@ AC_ARG_VAR([CURL], [Path to curl-config 
 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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.