[FFmpeg-devel] [PATCH] configure: Check that texi2html supports --init-file

jamal jamrial at gmail.com
Thu Jul 12 09:07:59 CEST 2012


Fixes ticket #1515
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index e74b0b1..b47e34b 100755
--- a/configure
+++ b/configure
@@ -3379,7 +3379,7 @@ else
 fi
 enabled sdl && add_cflags $sdl_cflags && add_extralibs $sdl_libs
 
-texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
+texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html
 makeinfo --version > /dev/null 2>&1 && enable makeinfo  || disable makeinfo
 pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
 
-- 
1.7.8.6



More information about the ffmpeg-devel mailing list