summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-19 01:35:23 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-19 01:35:23 +0000
commit584b79c136fe003e7b7cece7f9d68403616a3b7f (patch)
treeb9da19c0d9b992a984627dbfb21f9a8fecc90245 /configure
parent7a3fe1da26bbf7b34b0ac5f87da4cdef3ea39c30 (diff)
downloadmpv-584b79c136fe003e7b7cece7f9d68403616a3b7f.tar.bz2
mpv-584b79c136fe003e7b7cece7f9d68403616a3b7f.tar.xz
missing parts of --target support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2991 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index e9e0ede9bd..344bd3262e 100755
--- a/configure
+++ b/configure
@@ -371,7 +371,8 @@ if test "$_as" = auto ; then
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 @@ fi
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"