[MPlayer-cvslog] r23862 - trunk/configure
uau
subversion at mplayerhq.hu
Wed Jul 25 21:02:29 CEST 2007
Author: uau
Date: Wed Jul 25 21:02:29 2007
New Revision: 23862
Log:
Fix configure regexp for enabling FFmpeg features
All features were disabled because of a regexp that used "[^ ]" to
match start of a word. '^' is not a metacharacter meaning beginning
of line inside [], instead it inverts the matching condition of the
other characters in the list.
Changed to use "\<" and "\>" for start/end of word instead. I don't know
how standard those are, at least they're better than the previous
version.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Wed Jul 25 21:02:29 2007
@@ -7518,7 +7518,7 @@ ff_config_enable () {
_nprefix=$3;
test -z "$_nprefix" && _nprefix='CONFIG'
for part in $1; do
- if ` echo $2 | grep "[^ ]$part[ $]" > /dev/null `; then
+ if ` echo $2 | grep "\<$part\>" > /dev/null `; then
echo "#define ${_nprefix}_$part 1"
echo "#define ENABLE_$part 1"
else
More information about the MPlayer-cvslog
mailing list