blob: 509fcdc928ae49caf10b121b0380c27a15155fcd [file] [log] [blame]
--- libdvdcss-1.2.9/configure.ac 2005-07-11 14:08:21.000000000 +0200
+++ libdvdcss-1.2.9-doc/configure.ac 2005-07-14 11:26:22.140795184 +0200
@@ -191,9 +191,16 @@
dnl
dnl Shall we build documentation?
dnl
-AC_PATH_PROG(DOXYGEN, doxygen, no)
+AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], [Don't build API documentation with Doxygen]))
+
+if test "x$enable_doc" != "xno"; then
+ AC_PATH_PROG(DOXYGEN, doxygen, no)
+ AC_PATH_PROG(LATEX, latex, no)
+else
+ DOXYGEN="no"
+ LATEX="no"
+fi
AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no")
-AC_PATH_PROG(LATEX, latex, no)
AM_CONDITIONAL(LATEX, test "${LATEX}" != "no")
AC_OUTPUT([