1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- jack-audio-connection-kit-0.80.0/configure.in 2003-08-28 17:21:07.000000000 -0500
+++ jack-audio-connection-kit-0.80.0-fixed/configure.in 2004-02-04 13:15:12.000000000 -0600
@@ -269,10 +269,26 @@
fi
AC_SUBST(READLINE_DEPS)
-# you need doxygen to make dist.
-AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
-if test $HAVE_DOXYGEN = "false"; then
- AC_MSG_WARN([*** doxygen not found, docs will not be built])
+AC_ARG_ENABLE(html-docs,
+ [ --enable-html-docs build the html documentation (default yes)],
+ [ if test "x$enable_html_docs" != "xno" ; then
+ ENABLE_HTML_DOCS="yes"
+ AC_MSG_RESULT([JACK will build html docs])
+ else
+ AC_MSG_RESULT([JACK will not build html docs])
+ fi;
+ ],
+ [ ENABLE_HTML_DOCS="yes"; ]
+)
+
+if test "$ENABLE_HTML_DOCS" == "yes" ; then
+ # you need doxygen to make dist.
+ AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false)
+ if test $HAVE_DOXYGEN = "false"; then
+ AC_MSG_ERROR([*** doxygen not found, unable to build docs.])
+ fi
+else
+ HAVE_DOXYGEN="false"
fi
AM_CONDITIONAL(HAVE_SNDFILE, $HAVE_SNDFILE)
|