configure: disable VDA on ppc, fix build

Fixes Ticket1760

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Sebastien Zwickert 2012-09-23 17:25:36 +02:00 committed by Michael Niedermayer
parent 033f53fb8f
commit f25d53d95f

2
configure vendored
View File

@ -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