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
|
Description: Try build documentation by default
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2017-03-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure.ac
+++ b/configure.ac
@@ -106,10 +106,10 @@
##
AC_ARG_ENABLE([docs],
- [AS_HELP_STRING([--enable-docs],
- [Enable building documentation])],
+ [AS_HELP_STRING([--disable-docs],
+ [Disable building documentation])],
[],
- [enable_docs=no])
+ [enable_docs=maybe])
AC_ARG_ENABLE([data-channels],
[AS_HELP_STRING([--disable-data-channels],
@@ -505,6 +505,8 @@
[
AS_IF([test "x$enable_docs" = "xyes"],
[AC_MSG_ERROR([doxygen or dot not found. See README.md for installation instructions or remove --enable-docs])])
+ ],[
+ enable_docs=yes
])
AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"])
if test "x$enable_docs" = "xyes"; then
|