diff options
author | Måns Rullgård <mans@mansr.com> | 2009-02-21 16:03:25 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-02-21 16:03:25 +0000 |
commit | cfdb6148d67d58032d4924fc6c3e3bb8e62f6f7d (patch) | |
tree | a95ca0d05c69e2aa5da60ea3433de150d5c805ec | |
parent | 822be725d93669bd8c8cb70b6263a928e4767d6a (diff) | |
download | ffmpeg-cfdb6148d67d58032d4924fc6c3e3bb8e62f6f7d.tar.gz |
configure: sort cases in arch section
Originally committed as revision 17478 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 82 |
1 files changed, 41 insertions, 41 deletions
@@ -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" |