diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-03-15 15:54:20 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-03-15 15:54:20 +0000 |
commit | 4477b9f4243d88368917b40873295d3b8f05bbef (patch) | |
tree | 79ed24f40c4ad216713293ddf50113bfcc5bd1a0 /configure | |
parent | b96644bfe36a1c9a2354fda63987e5d282cab2f5 (diff) | |
download | ffmpeg-4477b9f4243d88368917b40873295d3b8f05bbef.tar.gz |
Properly check for AltiVec CFLAGS instead of guessing based on compiler vendor.
Originally committed as revision 12448 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1532,12 +1532,9 @@ 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" - check_header altivec.h - fi + check_cflags -maltivec -mabi=altivec && + check_header altivec.h || + check_cflags -faltivec # check if our compiler supports Motorola AltiVec C API enabled altivec_h && |