# HG changeset patch # User uau # Date 1185390149 0 # Node ID 9cd0d6ae322d617ca4af7f9c5012ff586e6fc9a8 # Parent 27327c023b7e5ff880351c52897cc73646967399 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. diff -r 27327c023b7e -r 9cd0d6ae322d configure --- a/configure Wed Jul 25 17:31:34 2007 +0000 +++ b/configure Wed Jul 25 19:02:29 2007 +0000 @@ -7518,7 +7518,7 @@ _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