From f25d53d95f62693724a59a4be8454c8ae58b8359 Mon Sep 17 00:00:00 2001
From: Sebastien Zwickert <dilaroga@gmail.com>
Date: Sun, 23 Sep 2012 17:25:36 +0200
Subject: [PATCH] configure: disable VDA on ppc, fix build

Fixes Ticket1760

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index c001c5fb1bf..e9f98c1b591 100755
--- 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
-- 
GitLab