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"