diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-03-15 09:47:49 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-03-15 09:47:49 +0000 |
commit | 5dff04fc51dd280e7704f9f121056584ba297c24 (patch) | |
tree | 6d16c2ab39a4f0794e7b090a3864644ae616500d /configure | |
parent | 0870c7674a2f67a3504162e90985448e4bc35329 (diff) | |
download | ffmpeg-5dff04fc51dd280e7704f9f121056584ba297c24.tar.gz |
Only check for altivec.h when not using Apple gcc and not adding -faltivec to
CFLAGS. This avoids a couple of warnings of the type
'#warning: Ignoring <altivec.h> because "-faltivec" specified'.
Originally committed as revision 12445 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1536,10 +1536,9 @@ if enabled altivec; then add_cflags "-faltivec" else add_cflags "-maltivec -mabi=altivec" + check_header altivec.h fi - check_header altivec.h - # check if our compiler supports Motorola AltiVec C API enabled altivec_h && inc_altivec_h="#include <altivec.h>" || |