diff options
author | Marcus Brinkmann <[email protected]> | 2017-06-19 11:31:10 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2017-06-19 11:31:10 +0000 |
commit | 859f9a9754708572a6289853d7d95b9ee3eae589 (patch) | |
tree | 97368b336a0543cb20caa98ad6b76237a363d30c /configure.ac | |
parent | Use gpgrt_free to release memory allocated by gpgrt_asprintf. (diff) | |
download | libassuan-859f9a9754708572a6289853d7d95b9ee3eae589.tar.gz libassuan-859f9a9754708572a6289853d7d95b9ee3eae589.zip |
configure: Add flag to disable documentation build.
* configure.ac: Add new option --disable-doc.
(BUILD_DOC): New automake conditional.
* Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC.
(DISTCHECK_CONFIGURE_FLAGS): New variable.
Signed-Off-By: Marcus Brinkmann <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 963a76b..cd36183 100644 --- a/configure.ac +++ b/configure.ac @@ -454,6 +454,17 @@ else fi fi + +# +# Extra features +# +build_doc=yes +AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], + [do not build the documentation]), + build_doc=$enableval, build_doc=yes) +AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) + + # # Create the config files. # |