changeset 23839:bbc0763d8a82

avoid ff_config_enable doing partial matches. This fixes iwmmxt incorrectly enabling mmx as well.
author reimar
date Wed, 25 Jul 2007 17:21:03 +0000
parents 8287ef1758cb
children 5fd33d4d5c3e
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Jul 25 17:13:02 2007 +0000
+++ b/configure	Wed Jul 25 17:21:03 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