[FFmpeg-devel] [PATCH 1/3] configure: Only build documentation if pod2man is available

jamal jamrial at gmail.com
Wed Jul 11 04:24:04 CEST 2012


---
 configure |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 1958fa6..2f9d9a3 100755
--- a/configure
+++ b/configure
@@ -1778,7 +1778,7 @@ ffprobe_deps="avcodec avformat"
 ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer"
 ffserver_extralibs='$ldl'
 
-doc_deps="texi2html"
+doc_deps="pod2man"
 
 # tests
 
@@ -3376,6 +3376,7 @@ enabled sdl && add_cflags $sdl_cflags && add_extralibs $sdl_libs
 
 texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
 makeinfo --version > /dev/null 2>&1 && enable makeinfo  || disable makeinfo
+pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
 
 check_header linux/fb.h
 check_header linux/videodev.h
-- 
1.7.3.4



More information about the ffmpeg-devel mailing list