diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-25 17:21:03 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-07-25 17:21:03 +0000 |
commit | 6eeb1bb6af0e6f528e36702eec6eb35806ef9af5 (patch) | |
tree | dbac898a87a60ca948ee1f6dc434139b567122c4 | |
parent | 641d9d1156c8930fa0f9852827aacc951981637f (diff) |
avoid ff_config_enable doing partial matches.
This fixes iwmmxt incorrectly enabling mmx as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23859 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |