summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@xiph.org>2009-03-06 19:05:00 +0000
committerRalph Giles <giles@xiph.org>2009-03-06 19:05:00 +0000
commit7f8eefa1067820b8ec123fabeb089f5918df2e34 (patch)
tree3797973ec0f6d41e800f493dc26fbe8c18d30d29
parent0dc1835068339377117a2919b90af7a168a005f2 (diff)
downloadlibvorbis-git-7f8eefa1067820b8ec123fabeb089f5918df2e34.tar.gz
Corresponding configure script changes for building the latex
specification. These were omitted in the previous commit. svn path=/trunk/vorbis/; revision=15749
-rw-r--r--configure.ac13
1 files changed, 6 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index cf722fbb..0f0ada88 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,21 +59,20 @@ AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AM_PROG_CC_C_O
-dnl docbook xml transform and processing tools
+dnl latex tools for the specification document
AC_ARG_ENABLE(docs,
AC_HELP_STRING([--enable-docs], [build the documentation]))
-dnl ideally we'd look for other tools and support them
-if test x$enable_docs = xyes; then
- AC_CHECK_PROGS([XSLTPROC], xsltproc, [/bin/false])
- AC_CHECK_PROGS([PDFXMLTEX], pdfxmltex, [/bin/false])
- if test "x$XSLTPROC" = "x/bin/false" || test "x$PDFXMLTEX" = "x/bin/false"; then
+if test "x$enable_docs" = xyes; then
+ AC_CHECK_PROGS([PDFLATEX], pdflatex, [/bin/false])
+ AC_CHECK_PROGS([HTLATEX], htlatex, [/bin/false])
+ if test "x$PDFLATEX" = x/bin/false || test "x$HTLATEX" = x/bin/false; then
enable_docs=no
AC_MSG_WARN([Documentation will not be built!])
fi
fi
-AM_CONDITIONAL(BUILD_DOCS, [test x$enable_docs = xyes])
+AM_CONDITIONAL(BUILD_DOCS, [test "x$enable_docs" = xyes])
dnl --------------------------------------------------
dnl Set build flags based on environment