1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Split arch variable into arch and subarch.

Originally committed as revision 16558 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-01-11 22:45:19 +00:00
parent 1fc9fb8a77
commit 62045d4860

15
configure vendored
View File

@ -1305,15 +1305,17 @@ check_cflags -std=c99
case "$arch" in case "$arch" in
i386|i486|i586|i686|i86pc|BePC) i386|i486|i586|i686|i86pc|BePC)
arch="x86_32" arch="x86"
subarch="x86_32"
enable fast_unaligned enable fast_unaligned
;; ;;
x86_64|amd64) x86_64|amd64)
arch="x86_32" arch="x86"
subarch="x86_32"
enable cmov enable cmov
enable fast_cmov enable fast_cmov
enable fast_unaligned enable fast_unaligned
check_cc <<EOF && enable fast_64bit && arch="x86_64" check_cc <<EOF && enable fast_64bit && subarch="x86_64"
int test[sizeof(char*) - 7]; int test[sizeof(char*) - 7];
EOF EOF
;; ;;
@ -1341,7 +1343,8 @@ EOF
enable fast_64bit enable fast_64bit
;; ;;
sun4u|sparc64) sun4u|sparc64)
arch="sparc64" arch="sparc"
subarch="sparc64"
enable fast_64bit enable fast_64bit
;; ;;
sparc) sparc)
@ -1375,9 +1378,7 @@ EOF
;; ;;
esac esac
enable $arch enable $arch $subarch
enabled_any x86_32 x86_64 && enable x86
enabled sparc64 && enable sparc
# OS specific # OS specific
case $target_os in case $target_os in