diff options
author | Nils Gillmann <ng0@n0.is> | 2018-03-31 10:54:26 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-03-31 10:54:26 +0000 |
commit | c60051643fe8bc3e6ec4dcc6dc28d1fc03bfe740 (patch) | |
tree | cea06f78187a03918790c6532a33e880a4854481 /configure.ac | |
parent | 29d2fd50260dd3f41ba5209579656d3a15005fec (diff) | |
download | gnunet-c60051643fe8bc3e6ec4dcc6dc28d1fc03bfe740.tar.gz gnunet-c60051643fe8bc3e6ec4dcc6dc28d1fc03bfe740.zip |
This should almost make it possible to pass --enable-documentation-only
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 881262cbe..668ac7529 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -611,6 +611,22 @@ else | |||
611 | AC_DEFINE([DOCUMENTATION],[0],[Not building the documentation]) | 611 | AC_DEFINE([DOCUMENTATION],[0],[Not building the documentation]) |
612 | fi | 612 | fi |
613 | 613 | ||
614 | # should the build process be building only the documentation? | ||
615 | AC_MSG_CHECKING(whether to build only documentation) | ||
616 | AC_ARG_ENABLE([documentation-only], | ||
617 | [AS_HELP_STRING([--enable-documentation-only], [build only the documentation])], | ||
618 | [documentation_only=${enableval}], | ||
619 | [documentation_only=no]) | ||
620 | AC_MSG_RESULT($documentation_only) | ||
621 | if test "x$documentation_only" = "xyes" | ||
622 | then | ||
623 | AM_CONDITIONAL([DOCUMENTATION_ONLY],true) | ||
624 | AC_DEFINE([DOCUMENTATION_ONLY],[1],[Building only the documentation]) | ||
625 | else | ||
626 | AM_CONDITIONAL([DOCUMENTATION_ONLY],false) | ||
627 | AC_DEFINE([DOCUMENTATION_ONLY],[0],[Not building only the documentation]) | ||
628 | fi | ||
629 | |||
614 | # should the build process be restricted to the code required | 630 | # should the build process be restricted to the code required |
615 | # for GNU Taler wallets? | 631 | # for GNU Taler wallets? |
616 | AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY) | 632 | AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY) |