When configuring with --enable-cli=no, we should not build
the libraries related the cli.
This fixes commit
3cb2853 (build: enable building cli during tests)
which enables building of cli during `make check`. However, during
regular build, these libraries should not get build.
Signed-off-by: Thomas Haller <thaller@redhat.com>
pkglib_cls_LTLIBRARIES = $(lib_cli_ltlibraries_cls)
pkglib_qdisc_LTLIBRARIES = $(lib_cli_ltlibraries_qdisc)
else
-noinst_LTLIBRARIES += \
+check_LTLIBRARIES += \
$(lib_cli_ltlibraries_cls) \
$(lib_cli_ltlibraries_qdisc)
endif