]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - configure
Remove AltiVec vector declaration compiler compatibility macros.
[frescor/ffmpeg.git] / configure
index eb77a52fce9679cd186428a0c2a9ee48a7ed0c34..9eeca21dc9701a32a734a1cb7be08e4563930947 100755 (executable)
--- a/configure
+++ b/configure
@@ -725,7 +725,6 @@ HAVE_LIST="
     $ARCH_EXT_LIST
     $THREADS_LIST
     altivec_h
-    altivec_vector_braces
     arpa_inet_h
     bswap
     byteswap_h
@@ -1567,10 +1566,9 @@ int main(void) {
 EOF
 
     # check if our compiler supports braces for vector declarations
-    check_cc <<EOF && enable altivec_vector_braces
+    check_cc <<EOF || die "You need a compiler that supports {} in AltiVec vector declarations."
 $inc_altivec_h
-#define AVV(x...) {x}
-int main (void) { (vector int) AVV(1); return 0; }
+int main (void) { (vector int) {1}; return 0; }
 EOF
 fi