diff options
author | ng0 <ng0@n0.is> | 2019-12-01 19:33:04 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-12-01 19:33:04 +0000 |
commit | 24d9ece906cc03e80db617168c9a2d93409e4640 (patch) | |
tree | ec55849eb22cf0131d1f73185884da605824130c /configure.ac | |
parent | 492a887121d7ddd5aa35450cf35cfd0fc3b5d239 (diff) |
Add --with-gnunet-logread to configure.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 53db0bfaf..6471cb872 100644 --- a/configure.ac +++ b/configure.ac @@ -247,6 +247,25 @@ AC_PATH_PROG( PERL, perl, , $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin ) AC_SUBST([PERL]) +# should we install gnunet-logread? +AC_MSG_CHECKING(whether to install gnunet-logread) +AC_ARG_WITH([gnunet-logread], + [AS_HELP_STRING([--with-gnunet-logread], + [Install gnunet-logread])], + [logread=${withval}], + [logread=no]) +AC_MSG_RESULT($logread) +AS_IF([test "x$logread" = "xyes"], + [AM_CONDITIONAL([GNUNET_LOGREAD], true) + AC_DEFINE([GNUNET_LOGREAD], + [1], + [Installing gnunet-logread])], + [AM_CONDITIONAL([GNUNET_LOGREAD], + false) + AC_DEFINE([GNUNET_LOGREAD], + [0], + [Not installing gnunet-logread])]) + # iptables is a soft requirement to run tests AC_PATH_TARGET_TOOL(VAR_IPTABLES_BINARY, iptables, false) |