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
1 changed files with 13 additions and 13 deletions

26
configure vendored
View File

@ -1484,15 +1484,15 @@ fi
# AltiVec flags: The FSF version of GCC differs from the Apple version
if enabled altivec; then
if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
add_cflags "-faltivec"
else
add_cflags "-maltivec -mabi=altivec"
fi
if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
add_cflags "-faltivec"
else
add_cflags "-maltivec -mabi=altivec"
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
inc_altivec_h="#include <altivec.h>"
else
@ -1510,9 +1510,9 @@ fi
# check armv5te instructions support
enabled armv5te && check_cc <<EOF || disable armv5te
int main(void) {
__asm__ __volatile__ ("qadd r0, r0, r0");
}
int main(void) {
__asm__ __volatile__ ("qadd r0, r0, r0");
}
EOF
enabled armv6 && check_cc <<EOF || disable armv6
@ -1523,9 +1523,9 @@ EOF
# check iwmmxt support
enabled iwmmxt && check_cc <<EOF || disable iwmmxt
int main(void) {
__asm__ __volatile__ ("wunpckelub wr6, wr4");
}
int main(void) {
__asm__ __volatile__ ("wunpckelub wr6, wr4");
}
EOF
# check if our compiler supports mmi