[MPlayer-dev-eng] [PATCH] avoid ff_config_enable doing partial matches

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Jul 21 15:53:21 CEST 2007


Hello,
Could you please check attached patch? It seems currently iwmmxt has the
side-effect of enabling MMX as well...

Greetings,
Reimar Doeffinger
-------------- next part --------------
Index: configure
===================================================================
--- configure	(revision 23838)
+++ configure	(working copy)
@@ -7494,7 +7494,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


More information about the MPlayer-dev-eng mailing list