[MPlayer-cvslog] r30920 - trunk/configure
diego
subversion at mplayerhq.hu
Wed Mar 17 14:34:33 CET 2010
Author: diego
Date: Wed Mar 17 14:34:33 2010
New Revision: 30920
Log:
Make ff_config_enable work with lowercase values.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Wed Mar 17 14:20:06 2010 (r30919)
+++ trunk/configure Wed Mar 17 14:34:33 2010 (r30920)
@@ -8766,10 +8766,12 @@ EOF
#############################################################################
ff_config_enable () {
+list=$(echo $1 | tr '[a-z]' '[A-Z]')
+item=$(echo $2 | tr '[a-z]' '[A-Z]')
_nprefix=$3;
test -z "$_nprefix" && _nprefix='CONFIG'
-for part in $1; do
- if $(echo $2 | grep -q -E "(^| )$part($| )"); then
+for part in $list; do
+ if $(echo $item | grep -q -E "(^| )$part($| )"); then
echo "#define ${_nprefix}_$part 1"
else
echo "#define ${_nprefix}_$part 0"
More information about the MPlayer-cvslog
mailing list