summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicolas Boos <nicolas.boos@wanadoo.fr>2004-07-05 18:06:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-05 18:06:16 +0000
commit146ea95228c34334247f1d100c6cd261e7866d13 (patch)
treee865013357b77b635be5160b6a46153141982438 /configure
parent4994af2fbd81eea61a797a0e77c3a69a641d7582 (diff)
autobuild doc if possible patch by (Nicolas Boos <nicolas.boos at wanadoo dot fr>)
Originally committed as revision 3288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 01d7d9ee61..6df06c8bd1 100755
--- a/configure
+++ b/configure
@@ -900,6 +900,14 @@ fi
fi
fi
+##########################################
+# texi2html probe
+
+texi2html=no
+if texi2html -version >/dev/null 2>&1; then
+texi2html=yes
+fi
+
case "`$cc -v 2>&1 | grep version`" in
*gcc*)
CFLAGS="-Wall $CFLAGS"
@@ -1123,6 +1131,9 @@ if test "$sdl" = "yes" ; then
echo "SDL_LIBS=`sdl-config --libs`" >> config.mak
echo "SDL_CFLAGS=`sdl-config --cflags`" >> config.mak
fi
+if test "$texi2html" = "yes"; then
+ echo "BUILD_DOC=yes" >> config.mak
+fi
if test "$have_lrintf" = "yes" ; then
echo "#define HAVE_LRINTF 1" >> $TMPH
fi