build-sys: omit mustach compilation when it cannot work

For example mac does not have open_memstream(3), and strndupa(3) can also be
missing.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-11-11 16:13:14 +00:00
parent b96f8cd8ad
commit 39b2811aa7
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
6 changed files with 31 additions and 4 deletions

View file

@ -18,7 +18,6 @@ TESTS = \
tests/full-json \
tests/full-xml \
tests/leading0 \
tests/mustach \
tests/one-ip \
tests/one-line \
tests/range4 \
@ -29,6 +28,11 @@ TESTS = \
tests/v6 \
tests/v6-perfdata
if ENABLE_MUSTACH
TESTS += \
tests/mustach
endif
EXTRA_DIST += \
tests/confs \
tests/expected \