diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-20 16:16:46 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-20 16:16:46 +0200 |
commit | 217c2d383b4c6c57de335e55e3b4943601ddc9be (patch) | |
tree | 1e211fa71b1a6cca619d74ebc74745d594e2ef69 /configure.ac | |
parent | 28542396565a8c3feb9b8a34be68410373022b6e (diff) |
Configuring/Compiling texinfo documentaion, + manual stub.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6389eed2..ebd74ed5 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,20 @@ CFLAGS="-Wall $CFLAGS" # Checks for header files. AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h]) +# Check for compiling documentation +with_doc = yes +AC_MSG_CHECKING([for compiling documentation]) +AC_ARG_WITH(doc, + [AS_HELP_STRING([--with-doc], [Compile documentation])], + [AC_MSG_RESULT([given])], + [AC_MSG_RESULT(not given) + with_doc = no]) + +AS_CASE([$with_doc], + [yes], AC_CHECK_PROG([texicomp], [texi2pdf], [yes])) +AS_IF([test "x$with_doc" = "xyes" -a "x$texicomp" != "xyes"], AC_MSG_ERROR([A texinfo compiler is needed. Install texi2pdf.])) +AM_CONDITIONAL([WITH_DOC], [test "x$with_doc" = "xyes"]) + # Check for GNUnet's libgnunetutil. libgnunetutil=0 AC_MSG_CHECKING([for libgnunetutil]) @@ -267,6 +281,7 @@ examples/blog/web-common/Makefile examples/shop/Makefile examples/shop/web-common/Makefile copylib/Makefile +doc/Makefile src/Makefile src/include/Makefile src/backenddb/Makefile |