You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
798 B

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