# HG changeset patch # User diego # Date 1286466126 0 # Node ID f768c86af25d53106b4624d14c9bb9a439c38d7c # Parent e7a1376d9ffff5ae33b9ce4389fc30ae97f77230 Make sure some x86 config.h entries are available on all architectures. This avoids annoying XYZ undefined warnings. diff -r e7a1376d9fff -r f768c86af25d configure --- a/configure Thu Oct 07 15:28:25 2010 +0000 +++ b/configure Thu Oct 07 15:42:06 2010 +0000 @@ -2640,6 +2640,11 @@ echores $pic +def_bswap='#define HAVE_BSWAP 0' +def_ebx_available='#define HAVE_EBX_AVAILABLE 0' +def_ten_operands='#define HAVE_TEN_OPERANDS 0' +def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 0' + if x86 ; then echocheck ".align is a power of two" @@ -2657,7 +2662,6 @@ echocheck "10 assembler operands" ten_operands=no -def_ten_operands='#define HAVE_TEN_OPERANDS 0' cat > $TMPC << EOF int main(void) { int x=0; @@ -2673,7 +2677,6 @@ echocheck "ebx availability" ebx_available=no -def_ebx_available='#define HAVE_EBX_AVAILABLE 0' cat > $TMPC << EOF int main(void) { int x; @@ -2739,14 +2742,12 @@ fi echocheck "bswap" -def_bswap='#define HAVE_BSWAP 0' echo 'bswap %eax' > $TMPS $_as $TMPS -o $TMPEXE > /dev/null 2>&1 && def_bswap='#define HAVE_BSWAP 1' && bswap=yes || bswap=no echores "$bswap" echocheck "xmm clobbers" -def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 0' inline_asm_check '"":::"%xxxmm0"' && def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 1' && xmm_clobbers=yes || xmm_clobbers=no