mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user