Make it optional. After this update it is still possible to build the documentation via: ./configure --with-doxygen=yes if ./configure finds doxygen. Update README to include this information. Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- README | 11 +++++++++++ configure.ac | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README b/README index 317a2c6ad1d6..4a2ccab00647 100644 --- a/README +++ b/README @@ -18,6 +18,17 @@ on top of this library. is reduced, i.e. the library provides many helpers, but the programmer is not forced to use them. += Documentation = + +If doxygen is installed on your system, you can enable it via: + + ./configure --with-doxygen=yes + +then type `make`. + +To access the doxygen documentation, open the doxygen/html/index.html file with +a web browser. + = Example files = You can find several example files under examples/ that you can compile by diff --git a/configure.ac b/configure.ac index 4698aec055b7..9305766f6390 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ AC_CONFIG_FILES([Makefile AC_ARG_WITH([doxygen], [AS_HELP_STRING([--with-doxygen], [create doxygen documentation])], - [with_doxygen="$withval"], [with_doxygen=yes]) + [with_doxygen="$withval"], [with_doxygen=no]) AS_IF([test "x$with_doxygen" != xno], [ AC_CHECK_PROGS([DOXYGEN], [doxygen]) -- 2.30.2