Commit b610bff9 authored by diego's avatar diego

Simplify altivec.h test.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13554 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9b7dbeb7
......@@ -1531,13 +1531,10 @@ fi
# AltiVec flags: The FSF version of GCC differs from the Apple version
if enabled altivec; then
check_cflags -maltivec -mabi=altivec && \
check_header altivec.h || \
{ check_header altivec.h && inc_altivec_h="#include <altivec.h>" ; } || \
check_cflags -faltivec
# check if our compiler supports Motorola AltiVec C API
enabled altivec_h &&
inc_altivec_h="#include <altivec.h>" ||
inc_altivec_h=
check_cc <<EOF || disable altivec
$inc_altivec_h
int main(void) {
......
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