X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=2309d358e2920ae90aaec8709860647d4e299271;hb=9e2e05f3495c883356be93232b26d6cbb796a269;hp=ed193cd42a17563f9de0db2bbe2b6cc03b176b76;hpb=de40dd736a1b048e5e0f856184f832fa4db184d3;p=meshlink diff --git a/configure.ac b/configure.ac index ed193cd4..2309d358 100644 --- a/configure.ac +++ b/configure.ac @@ -91,6 +91,15 @@ AS_IF([test "x$enable_utcp_debug" = "xyes"], ] ); +dnl Blackbox test suite +PKG_CHECK_MODULES([CMOCKA], [cmocka >= 1.1.0], [cmocka=true], [cmocka=false]) +PKG_CHECK_MODULES([LXC], [lxc >= 2.0.0], [lxc=true], [lxc=false]) +AM_CONDITIONAL(BLACKBOX_TESTS, test "$cmocka" = true -a "$lxc" = true) + +dnl Additional example code +PKG_CHECK_MODULES([NCURSES], [ncurses >= 5], [curses=true], [curses=false]) +AM_CONDITIONAL(CURSES, test "$curses" = true) + dnl Install test binaries AC_ARG_ENABLE([install_tests], [AS_HELP_STRING([--enable-install-tests], [include test binaries in installation])],