changeset 2990:bf0947491ce6

missing parts of --target support
author pl
date Mon, 19 Nov 2001 01:35:23 +0000
parents 53a98d2feb8a
children ad107e7bb843
files configure
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Nov 19 01:03:11 2001 +0000
+++ b/configure	Mon Nov 19 01:35:23 2001 +0000
@@ -371,7 +371,8 @@
 fi
 
 # Try to find the available options for the current CPU
-if test "$host_arch" = i386 ; then
+if test "$host_arch" = i386 || test "$host_arch" = i486 || 
+   test "$host_arch" = i586 || test "$host_arch" = i686; then
   if test -r /proc/cpuinfo ; then
     # linux with /proc mounted, extract cpu information from it
     _cpuinfo="cat /proc/cpuinfo"
@@ -426,7 +427,7 @@
 
 
 case "$host_arch" in
-  i386)
+  i386|i486|i586|i686)
   _def_arch="#define ARCH_X86 1"
   _target_arch="TARGET_ARCH_X86 = yes"
   _def_words_endian="#undef WORDS_BIGENDIAN"