diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-05-30 10:12:56 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-30 10:12:56 +0000 |
commit | 81a5cdde80c1b5eb78a266a9a0f16706640425f8 (patch) | |
tree | 35deb77c2fc9c71baa8a3f0c084a848360e1c4eb /configure | |
parent | de3e16ee1421f3ff1506973317074a0ccb77d112 (diff) | |
download | ffmpeg-81a5cdde80c1b5eb78a266a9a0f16706640425f8.tar.gz |
Simplify altivec.h test.
Originally committed as revision 13554 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) { |