[FFmpeg-devel] [PATCH] build: check for perl presence and compile POD pages only in that case

jamal jamrial at gmail.com
Fri Aug 10 00:33:23 CEST 2012


On 09/08/12 6:39 PM, Stefano Sabatini wrote:
> perl is required by the texi2pod.pl script. Should avoid FATE failure on
> Haiku, where perl is apparently not available.
> ---
>  configure    |    5 ++++-
>  doc/Makefile |   10 ++++++++--
>  2 files changed, 12 insertions(+), 3 deletions(-)
> 
> diff --git a/configure b/configure
> index 6c4047f..6dc983f 100755
> --- a/configure
> +++ b/configure
> @@ -1285,6 +1285,7 @@ HAVE_LIST="
>      mmap
>      nanosleep
>      PeekNamedPipe
> +    perl
>      pod2man
>      poll_h
>      posix_memalign
> @@ -1838,7 +1839,7 @@ ffprobe_deps="avcodec avformat"
>  ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer"
>  ffserver_extralibs='$ldl'
>  
> -doc_deps_any="texi2html makeinfo pod2man"
> +doc_deps_any="texi2html makeinfo perl pod2man"
>  
>  # tests
>  colormatrix1_test_deps="colormatrix_filter"
Maybe make pod2man be dependent on perl using pod2man_deps="perl" instead?
That way you can avoid making the changes to doc/Makefiles.

Regards.


More information about the ffmpeg-devel mailing list