<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2010-06-22 at 22:12 +0300, Martin-&#201;ric Racine wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <TT><FONT COLOR="#1a1a1a">In addition to exiting gracefully with a warning at ./configure time</FONT></TT><BR>
    <TT><FONT COLOR="#1a1a1a">if the build host is non-x86, what if we enforced -march=geode if GCC</FONT></TT><BR>
    <BR>
</BLOCKQUOTE>
You may want to look at AX_GCC_X86_CPUID and AX_GCC_ARCHFLAG which would do that for you.<BR>
<A HREF="http://www.gnu.org/software/autoconf-archive/The-Macros.html#The-Macros">http://www.gnu.org/software/autoconf-archive/The-Macros.html#The-Macros</A><BR>
<BR>
Gaetan
</BODY>
</HTML>