Originally committed as revision 9352 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2007-06-17 11:57:53 +00:00
parent 9eeed841ca
commit 0182fee8d1

12
configure vendored
View File

@ -1490,9 +1490,9 @@ if enabled altivec; then
add_cflags "-maltivec -mabi=altivec" add_cflags "-maltivec -mabi=altivec"
fi fi
check_header altivec.h check_header altivec.h
# check if our compiler supports Motorola AltiVec C API # check if our compiler supports Motorola AltiVec C API
if enabled altivec_h; then if enabled altivec_h; then
inc_altivec_h="#include <altivec.h>" inc_altivec_h="#include <altivec.h>"
else else
@ -1510,9 +1510,9 @@ fi
# check armv5te instructions support # check armv5te instructions support
enabled armv5te && check_cc <<EOF || disable armv5te enabled armv5te && check_cc <<EOF || disable armv5te
int main(void) { int main(void) {
__asm__ __volatile__ ("qadd r0, r0, r0"); __asm__ __volatile__ ("qadd r0, r0, r0");
} }
EOF EOF
enabled armv6 && check_cc <<EOF || disable armv6 enabled armv6 && check_cc <<EOF || disable armv6
@ -1523,9 +1523,9 @@ EOF
# check iwmmxt support # check iwmmxt support
enabled iwmmxt && check_cc <<EOF || disable iwmmxt enabled iwmmxt && check_cc <<EOF || disable iwmmxt
int main(void) { int main(void) {
__asm__ __volatile__ ("wunpckelub wr6, wr4"); __asm__ __volatile__ ("wunpckelub wr6, wr4");
} }
EOF EOF
# check if our compiler supports mmi # check if our compiler supports mmi