diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-05-30 10:58:48 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-30 10:58:48 +0000 |
commit | b006b26c836ddee979ccf8f231c822a787b94824 (patch) | |
tree | 0f220ad2c45d460a56171f84b4ab3564dd48a2df /configure | |
parent | 81a5cdde80c1b5eb78a266a9a0f16706640425f8 (diff) | |
download | ffmpeg-b006b26c836ddee979ccf8f231c822a787b94824.tar.gz |
Implement a proper configure test for AltiVec vector declaration syntax.
Originally committed as revision 13555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -714,6 +714,7 @@ HAVE_LIST=" $ARCH_EXT_LIST $THREADS_LIST altivec_h + altivec_vector_braces arpa_inet_h bswap byteswap_h @@ -1543,6 +1544,13 @@ int main(void) { return 0; } EOF + + # check if our compiler supports braces for vector declarations + check_cc <<EOF && enable altivec_vector_braces +$inc_altivec_h +#define AVV(x...) {x} +int main (void) { (vector int) AVV(1); return 0; } +EOF fi # We have to check if pld is a nop and disable it. |