configure: disable VDA on ppc, fix build
authorSebastien Zwickert <dilaroga@gmail.com>
Sun, 23 Sep 2012 15:25:36 +0000 (17:25 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 23 Sep 2012 15:27:44 +0000 (17:27 +0200)
Fixes Ticket1760

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index c001c5f..e9f98c1 100755 (executable)
--- a/configure
+++ b/configure
@@ -3557,7 +3557,7 @@ disabled  zlib || check_lib   zlib.h      zlibVersion -lz   || disable  zlib
 disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
 
 # check for VDA header
-if ! disabled vda; then
+if ! disabled vda && ! enabled ppc; then
     if check_header VideoDecodeAcceleration/VDADecoder.h; then
         enable vda
         add_extralibs -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore