[Ffmpeg-devel] [PATCH] Fix for non-GNU sed.

Måns Rullgård mru
Mon Nov 13 22:18:04 CET 2006


demo-n <demo-n at users.sourceforge.net> writes:

> Hi
>
> "--disable-decoder=NAME" option of ./configure doesn't work with
> non-GNU sed programs.
> Takashi Mochizuki aka MyCometG3 known as an author of mp4vEncoder
> pointed out it.
> He concluded that as a result of the investigation, there was a
> problem in the following function in ./configure script.
>
> filter_out(){
>     pattern="$1"
>     shift
>     echo "$@" | sed "s%\\<$pattern\\>%%g"
> }
>
> According to the info page, \< and \> are a GNU extension.
> Because Mac OS X uses non-GNU sed, this function doesn't work correctly.
> Therefore, I made the attached patch.
> This patch removes the GNU sed dependency on ./configure.
> filter_out() with it can disregard "oggvorbis_encoder" when the
> $pattern is "vorbis_encoder".

The filter_out function is no longer used, so the patch is no longer
relevant.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list