mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
Simplify altivec.h test.
Originally committed as revision 13554 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
de3e16ee14
commit
81a5cdde80
5
configure
vendored
5
configure
vendored
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user