summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-15 17:53:15 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-15 17:53:15 +0000
commiteb4051342ff773b94371a728a58016473de882fb (patch)
tree366ad43ffc5259c6505227757ea2b77f1a9f0754 /configure
parentffc7e6ebebcfadc9d911979265ae5c51cca38f46 (diff)
downloadmpv-eb4051342ff773b94371a728a58016473de882fb.tar.bz2
mpv-eb4051342ff773b94371a728a58016473de882fb.tar.xz
prevent some vidix drivers to get compiled on powerpc, they are not intended to work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24534 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 09a1865aca..27559fce7c 100755
--- a/configure
+++ b/configure
@@ -4221,6 +4221,11 @@ if test "$_vidix" = yes ; then
test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome"
test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//`
+ # some vidix drivers are not meant to work on powerpc, discard them
+ ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/cyberblade//`
+ ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/sis//`
+ ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/unichrome//`
+
for driver in $_vidix_drivers ; do
uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'`
eval _vidix_drv_${driver}=yes