changeset 24514:c71d1dd53a99

prevent some vidix drivers to get compiled on powerpc, they are not intended to work
author ben
date Sat, 15 Sep 2007 17:53:15 +0000
parents 3596519d8568
children c5c0cb0e90d2
files configure
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Sep 15 17:51:45 2007 +0000
+++ b/configure	Sat Sep 15 17:53:15 2007 +0000
@@ -4221,6 +4221,11 @@
   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