3 @@ -138,11 +138,17 @@ AS_IF([test "x$enable_android" = "xyes"], [
4 # Checks for library functions.
5 AC_CHECK_FUNCS([gethostname socket])
7 - # Check for presence of pdfLaTeX
8 - AC_CHECK_PROG(PDFLATEX, pdflatex, pdflatex)
9 - if test -z "$PDFLATEX"; then
10 - AC_MSG_WARN([Unable to create PDF version of the documentation.])
12 + AC_ARG_ENABLE([docs],
13 + AS_HELP_STRING([--enable-docs], [Build documentation using PDFLaTeX]),
15 + # Check for presence of pdfLaTeX
16 + AC_CHECK_PROG(PDFLATEX, pdflatex, pdflatex)
17 + if test -z "$PDFLATEX"; then
18 + AC_MSG_WARN([Unable to create PDF version of the documentation.])
24 AC_ARG_ENABLE([libdaemon],
25 AS_HELP_STRING([--disable-libdaemon], [Build without libdaemon support]),