Mercurial > mplayer.hg
comparison configure @ 24526:2691e7bf5544
Merge three sed invocations into one.
author | diego |
---|---|
date | Sun, 16 Sep 2007 17:50:35 +0000 |
parents | 53efefaa5774 |
children | 925b7145748d |
comparison
equal
deleted
inserted
replaced
24525:53efefaa5774 | 24526:2691e7bf5544 |
---|---|
4220 _vomodules="cvidix $_vomodules" | 4220 _vomodules="cvidix $_vomodules" |
4221 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome" | 4221 test "$_vidix_drivers" || _vidix_drivers="cyberblade ivtv mach64 mga mga_crtc2 nvidia pm2 pm3 radeon rage128 savage sis unichrome" |
4222 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//` | 4222 test $_ivtv = "yes" || _vidix_drivers=`echo $_vidix_drivers | sed s/ivtv//` |
4223 | 4223 |
4224 # some vidix drivers are not meant to work on powerpc, discard them | 4224 # some vidix drivers are not meant to work on powerpc, discard them |
4225 ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/cyberblade//` | 4225 ppc && _vidix_drivers=`echo $_vidix_drivers | sed -e s/cyberblade// -e s/sis// -e s/unichrome//` |
4226 ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/sis//` | |
4227 ppc && _vidix_drivers=`echo $_vidix_drivers | sed s/unichrome//` | |
4228 | 4226 |
4229 for driver in $_vidix_drivers ; do | 4227 for driver in $_vidix_drivers ; do |
4230 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'` | 4228 uc_driver=`echo $driver | tr '[a-z]' '[A-Z]'` |
4231 eval _vidix_drv_${driver}=yes | 4229 eval _vidix_drv_${driver}=yes |
4232 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\" | 4230 eval _def_vidix_drv_${driver}=\"\#define CONFIG_VIDIX_DRV_${uc_driver} 1\" |