diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 101fc77cb..9d1fb9ab3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -565,6 +565,23 @@ AC_CHECK_LIB([kvm],[kvm_open]) | |||
565 | AC_CHECK_LIB([kstat],[kstat_open]) | 565 | AC_CHECK_LIB([kstat],[kstat_open]) |
566 | 566 | ||
567 | 567 | ||
568 | # should the build process be restricted to only building | ||
569 | # the documentation? | ||
570 | AC_MSG_CHECKING(whether to build documentation ONLY) | ||
571 | AC_ARG_ENABLE([documentation], | ||
572 | [AS_HELP_STRING([--enable-documentation], [only build the documentation])], | ||
573 | [doc_only=${enableval}], | ||
574 | [doc_only=no]) | ||
575 | AC_MSG_RESULT($doc_only) | ||
576 | if test "x$doc_only" = "xyes" | ||
577 | then | ||
578 | AM_CONDITIONAL([DOC_ONLY],true) | ||
579 | AC_DEFINE([DOC_ONLY],[1],[Building the documentation]) | ||
580 | else | ||
581 | AM_CONDITIONAL([DOC_ONLY],false) | ||
582 | AC_DEFINE([DOC_ONLY],[0],[Canonical compilation]) | ||
583 | fi | ||
584 | |||
568 | # should the build process be restricted to the code required | 585 | # should the build process be restricted to the code required |
569 | # for GNU Taler wallets? | 586 | # for GNU Taler wallets? |
570 | AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY) | 587 | AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY) |