Commit d980258e authored by mru's avatar mru

configure: sort cases in arch section

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17478 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2c2f7715
......@@ -1366,37 +1366,23 @@ fi
check_cflags -std=c99
case "$arch" in
i386|i486|i586|i686|i86pc|BePC)
arch="x86"
subarch="x86_32"
enable fast_unaligned
;;
x86_64|amd64)
arch="x86"
subarch="x86_32"
enable cmov
enable fast_cmov
enable fast_unaligned
check_cc <<EOF && enable fast_64bit && subarch="x86_64"
int test[sizeof(char*) - 7];
EOF
;;
arm|armv[4567]*l)
arch="arm"
;;
alpha)
arch="alpha"
enable fast_64bit
check_cflags -mieee
;;
"Power Macintosh"|ppc|powerpc)
arch="ppc"
enable fast_unaligned
arm|armv[4567]*l)
arch="arm"
;;
ppc64)
arch="ppc"
bfin)
arch="bfin"
;;
ia64)
arch="ia64"
enable fast_64bit
enable fast_unaligned
;;
m68k)
arch="m68k"
;;
mips|mipsel|IP*)
arch="mips"
......@@ -1405,17 +1391,6 @@ EOF
arch="mips"
enable fast_64bit
;;
sun4u|sparc64)
arch="sparc"
subarch="sparc64"
enable fast_64bit
;;
sparc)
arch="sparc"
;;
sh4|sh)
arch="sh4"
;;
parisc|hppa)
arch="parisc"
;;
......@@ -1423,18 +1398,43 @@ EOF
arch="parisc"
enable fast_64bit
;;
"Power Macintosh"|ppc|powerpc)
arch="ppc"
enable fast_unaligned
;;
ppc64)
arch="ppc"
enable fast_64bit
enable fast_unaligned
;;
s390|s390x)
arch="s390"
;;
m68k)
arch="m68k"
sh4|sh)
arch="sh4"
;;
ia64)
arch="ia64"
sparc)
arch="sparc"
;;
sun4u|sparc64)
arch="sparc"
subarch="sparc64"
enable fast_64bit
;;
bfin)
arch="bfin"
i386|i486|i586|i686|i86pc|BePC)
arch="x86"
subarch="x86_32"
enable fast_unaligned
;;
x86_64|amd64)
arch="x86"
subarch="x86_32"
enable cmov
enable fast_cmov
enable fast_unaligned
check_cc <<EOF && enable fast_64bit && subarch="x86_64"
int test[sizeof(char*) - 7];
EOF
;;
*)
arch="unknown"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment