changeset 32362:f768c86af25d

Make sure some x86 config.h entries are available on all architectures. This avoids annoying XYZ undefined warnings.
author diego
date Thu, 07 Oct 2010 15:42:06 +0000
parents e7a1376d9fff
children d18d208c2cc9
files configure
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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