Web lists-archives.org

[MPlayer-dev-eng] [PATCH] remove 'configure' bashisms




Greetings,

This patch fixes several incompatiblities that other shells might have with the existing code in the "color console" test.

Thanks,

Derek E. Lewis
delewis@xxxxxxx
http://delewis.blogspot.com
Index: configure
===================================================================
--- configure	(revision 22005)
+++ configure	(working copy)
@@ -7419,8 +7419,8 @@
 # linker paths should be the same for mencoder and mplayer
 _ld_tmp=""
 for I in $_libs_mplayer ; do
-  _tmp=`echo $I | sed -e s/^-L.*$//`
-  if test -z $_tmp ; then
+  _tmp=`echo $I | sed -e 's/^-L.*$//'`
+  if test -z "$_tmp" ; then
     _ld_extra="$I $_ld_extra"
   else
     _ld_tmp="$_ld_tmp $I"
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng