[FFmpeg-cvslog] configure: Fix --disable-pod2man / --disable-texi2html

Diego Biurrun git at videolan.org
Mon Mar 20 11:47:23 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Apr 14 13:27:32 2015 +0200| [0e5dde739943168d6f61d3fb40b3f622e7abfeff] | committer: Diego Biurrun

configure: Fix --disable-pod2man / --disable-texi2html

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e5dde739943168d6f61d3fb40b3f622e7abfeff
---

 configure | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 3229153..ea2b131 100755
--- a/configure
+++ b/configure
@@ -113,6 +113,8 @@ Program options:
 
 Component options:
   --disable-doc            do not build documentation
+  --disable-pod2man        do not build manual pages
+  --disable-texi2html      do not build HTML documentation
   --disable-avdevice       disable libavdevice build
   --disable-avcodec        disable libavcodec build
   --disable-avformat       disable libavformat build
@@ -4707,8 +4709,8 @@ if check_pkg_config sdl SDL_events.h SDL_PollEvent; then
     enable sdl
 fi
 
-pod2man --help     > /dev/null 2>&1 && enable pod2man   || disable pod2man
-texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
+! disabled pod2man   && check_cmd pod2man --help     && enable pod2man   || disable pod2man
+! disabled texi2html && check_cmd texi2html -version && enable texi2html || disable texi2html
 
 check_header linux/fb.h
 check_header linux/videodev2.h



More information about the ffmpeg-cvslog mailing list