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 ...@@ -1366,37 +1366,23 @@ fi
check_cflags -std=c99 check_cflags -std=c99
case "$arch" in 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) alpha)
arch="alpha" arch="alpha"
enable fast_64bit enable fast_64bit
check_cflags -mieee check_cflags -mieee
;; ;;
"Power Macintosh"|ppc|powerpc) arm|armv[4567]*l)
arch="ppc" arch="arm"
enable fast_unaligned
;; ;;
ppc64) bfin)
arch="ppc" arch="bfin"
;;
ia64)
arch="ia64"
enable fast_64bit enable fast_64bit
enable fast_unaligned ;;
m68k)
arch="m68k"
;; ;;
mips|mipsel|IP*) mips|mipsel|IP*)
arch="mips" arch="mips"
...@@ -1405,17 +1391,6 @@ EOF ...@@ -1405,17 +1391,6 @@ EOF
arch="mips" arch="mips"
enable fast_64bit enable fast_64bit
;; ;;
sun4u|sparc64)
arch="sparc"
subarch="sparc64"
enable fast_64bit
;;
sparc)
arch="sparc"
;;
sh4|sh)
arch="sh4"
;;
parisc|hppa) parisc|hppa)
arch="parisc" arch="parisc"
;; ;;
...@@ -1423,18 +1398,43 @@ EOF ...@@ -1423,18 +1398,43 @@ EOF
arch="parisc" arch="parisc"
enable fast_64bit enable fast_64bit
;; ;;
"Power Macintosh"|ppc|powerpc)
arch="ppc"
enable fast_unaligned
;;
ppc64)
arch="ppc"
enable fast_64bit
enable fast_unaligned
;;
s390|s390x) s390|s390x)
arch="s390" arch="s390"
;; ;;
m68k) sh4|sh)
arch="m68k" arch="sh4"
;; ;;
ia64) sparc)
arch="ia64" arch="sparc"
;;
sun4u|sparc64)
arch="sparc"
subarch="sparc64"
enable fast_64bit enable fast_64bit
;; ;;
bfin) i386|i486|i586|i686|i86pc|BePC)
arch="bfin" 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" 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