[MPlayer-dev-eng] [PATCH] remove 'configure' bashisms
Derek E. Lewis
dlewis at solnetworks.net
Wed Jan 24 17:34:27 CET 2007
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 at acm.org
http://delewis.blogspot.com
-------------- next part --------------
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"
More information about the MPlayer-dev-eng
mailing list