diff options
author | Gilles Espinasse <g.esp@free.fr> | 2012-12-04 23:08:00 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2012-12-05 06:55:45 (GMT) |
commit | de141363045e60ebdf9cf17b52e04068d1851fd9 (patch) | |
tree | b84116ca6586752ab4933d0dc22bc7b0e4fb8afe /tests | |
parent | 68967eb10e82a071cd84fcd9e9b954793afda0c8 (diff) | |
download | libnl-de141363045e60ebdf9cf17b52e04068d1851fd9.zip libnl-de141363045e60ebdf9cf17b52e04068d1851fd9.tar.gz libnl-de141363045e60ebdf9cf17b52e04068d1851fd9.tar.bz2 |
Fix make check when using --disable-cli
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 1272f98..9c0ab8d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -3,22 +3,26 @@ AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\" LDADD = \ - ${top_builddir}/src/lib/libnl-cli-3.la \ ${top_builddir}/lib/libnl-3.la \ ${top_builddir}/lib/libnl-nf-3.la \ ${top_builddir}/lib/libnl-genl-3.la \ ${top_builddir}/lib/libnl-route-3.la check_PROGRAMS = \ - test-cache-mngr \ test-create-bond \ test-create-vlan \ test-delete-link \ - test-genl \ - test-nf-cache-mngr \ test-socket-creation \ test-complex-HTB-with-hash-filters +if ENABLE_CLI +LDADD += ${top_builddir}/src/lib/libnl-cli-3.la +check_PROGRAMS += \ + test-cache-mngr \ + test-genl \ + test-nf-cache-mngr +endif + # Eventually add these to TESTS once converted to be real # test programs # TESTS = $(check_PROGRAMS) |