diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 53db0bfaf..f6b33dd02 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -242,10 +242,42 @@ AM_PATH_PYTHON([3.4],, [:]) | |||
242 | AC_SUBST([PYTHON]) | 242 | AC_SUBST([PYTHON]) |
243 | AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :]) | 243 | AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :]) |
244 | 244 | ||
245 | |||
245 | # perl | 246 | # perl |
246 | AC_PATH_PROG( PERL, perl, , | 247 | AC_PATH_PROG( PERL, perl, , |
247 | $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin ) | 248 | $PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin ) |
248 | AC_SUBST([PERL]) | 249 | AC_SUBST([PERL]) |
250 | AM_CONDITIONAL([HAVE_PERL], [test -x "$PERL"]) | ||
251 | AS_IF([test -x "$PERL"], | ||
252 | [AC_DEFINE_UNQUOTED([HAVE_PERL], [1], [Path to Perl])], | ||
253 | [AC_DEFINE_UNQUOTED([HAVE_PERL], [0], [Path to Perl])]) | ||
254 | |||
255 | # awk | ||
256 | AC_PATH_PROGS( AWK_BINARY, [awk gawk], ,$PATH:/usr/bin/:/usr/local/bin ) | ||
257 | AC_SUBST([AWK_BINARY]) | ||
258 | AM_CONDITIONAL([HAVE_AWK], [test -x "$AWK_BINARY"]) | ||
259 | AS_IF([test -x "$AWK_BINARY"], | ||
260 | [AC_DEFINE_UNQUOTED([HAVE_AWK], [1], [Path to awk])], | ||
261 | [AC_DEFINE_UNQUOTED([HAVE_AWK], [0], [Path to awk])]) | ||
262 | |||
263 | # should we install gnunet-logread? | ||
264 | AC_MSG_CHECKING(whether to install gnunet-logread) | ||
265 | AC_ARG_WITH([gnunet-logread], | ||
266 | [AS_HELP_STRING([--with-gnunet-logread], | ||
267 | [Install gnunet-logread])], | ||
268 | [logread=${withval}], | ||
269 | [logread=no]) | ||
270 | AC_MSG_RESULT($logread) | ||
271 | AS_IF([test "x$logread" = "xyes"], | ||
272 | [AM_CONDITIONAL([GNUNET_LOGREAD], true) | ||
273 | AC_DEFINE([GNUNET_LOGREAD], | ||
274 | [1], | ||
275 | [Installing gnunet-logread])], | ||
276 | [AM_CONDITIONAL([GNUNET_LOGREAD], | ||
277 | false) | ||
278 | AC_DEFINE([GNUNET_LOGREAD], | ||
279 | [0], | ||
280 | [Not installing gnunet-logread])]) | ||
249 | 281 | ||
250 | # iptables is a soft requirement to run tests | 282 | # iptables is a soft requirement to run tests |
251 | AC_PATH_TARGET_TOOL(VAR_IPTABLES_BINARY, iptables, false) | 283 | AC_PATH_TARGET_TOOL(VAR_IPTABLES_BINARY, iptables, false) |
@@ -1800,6 +1832,7 @@ AC_DEFINE_UNQUOTED(VCS_VERSION, [$vcs_version], [VCS revision/hash or tarball ve | |||
1800 | 1832 | ||
1801 | AC_CONFIG_FILES([ | 1833 | AC_CONFIG_FILES([ |
1802 | Makefile | 1834 | Makefile |
1835 | bin/Makefile | ||
1803 | contrib/Makefile | 1836 | contrib/Makefile |
1804 | contrib/hellos/Makefile | 1837 | contrib/hellos/Makefile |
1805 | contrib/services/Makefile | 1838 | contrib/services/Makefile |