summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-10-31 15:58:49 +0000
committerMåns Rullgård <mans@mansr.com>2009-10-31 15:58:49 +0000
commitc73f65d979c41282ac52c5346f73489d12ce6a5a (patch)
tree4257e73e8e8fc69fe3723bb135c82dadfa7d96cf /configure
parentad212cc6ba2de57ca69367e37e2a38199d7e4eb7 (diff)
Allow disabling doc generation with --disable-doc
Originally committed as revision 20424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 7861c25d5d..4bba6bd452 100755
--- a/configure
+++ b/configure
@@ -78,6 +78,7 @@ show_help(){
echo " --enable-version3 upgrade (L)GPL to version 3 [no]"
echo " --enable-nonfree allow use of nonfree code, the resulting libs"
echo " and binaries will be unredistributable [no]"
+ echo " --disable-doc do not build documentation"
echo " --disable-ffmpeg disable ffmpeg build"
echo " --disable-ffplay disable ffplay build"
echo " --disable-ffserver disable ffserver build"
@@ -823,6 +824,7 @@ CONFIG_LIST="
avisynth
beos_netserver
bzlib
+ doc
fastdiv
ffmpeg
ffplay
@@ -1261,6 +1263,7 @@ ffplay_deps="sdl"
ffserver_deps="ffm_muxer rtp_protocol rtsp_demuxer"
ffserver_extralibs='$ldl'
+doc_deps="texi2html"
# default parameters
@@ -1297,6 +1300,7 @@ host_os=$target_os
# configurable options
enable debug
+enable doc
enable fastdiv
enable ffmpeg
enable ffplay
@@ -2708,9 +2712,6 @@ if enabled sdl; then
echo "SDL_LIBS=$("${SDL_CONFIG}" --libs)" >> config.mak
echo "SDL_CFLAGS=$("${SDL_CONFIG}" --cflags)" >> config.mak
fi
-if enabled texi2html; then
- echo "BUILD_DOC=yes" >> config.mak
-fi
get_version(){
name=$1