From 6cd4fcdec4e6671e63e8c7cba2ab4c6d594b13fd Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 5 Feb 2018 21:38:58 +0000 Subject: Remove libcheck from the dependencies. We're not gaining much from this library, and it's a burden, especially for windows development. --- configure.ac | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 18796bdd..e094489f 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,6 @@ TOX_LOGGER="no" NCURSES_FOUND="no" LIBCONFIG_FOUND="no" -LIBCHECK_FOUND="no" WANT_NACL="no" ADD_NACL_OBJECTS_TO_PKGCONFIG="yes" SET_SO_VERSION="yes" @@ -525,17 +524,6 @@ if test "x$BUILD_AV" = "xyes"; then fi if test -n "$PKG_CONFIG"; then - if test "x$BUILD_TESTS" = "xyes"; then - PKG_CHECK_MODULES([CHECK], [check], - [ - LIBCHECK_FOUND="yes" - ], - [ - AC_MSG_WARN([libcheck not found, not building unit tests: $CHECK_PKG_ERRORS]) - BUILD_TESTS="no" - ]) - fi - if test "x$BUILD_DHT_BOOTSTRAP_DAEMON" = "xyes"; then PKG_CHECK_MODULES([LIBCONFIG], [libconfig >= 1.4.6], [ @@ -572,26 +560,6 @@ if (test "x$BUILD_DHT_BOOTSTRAP_DAEMON" = "xyes") && \ fi fi -if (test "x$BUILD_TESTS" = "xyes") && (test "x$LIBCHECK_FOUND" = "xno"); then - AC_CHECK_HEADER([check.h], - [], - [ - AC_MSG_WARN([header file for check library was not found on your system, unit tests will be disabled]) - BUILD_TESTS="no" - ] - ) - - if test "x$BUILD_TESTS" = "xyes"; then - AC_CHECK_LIB([check], [suite_create], - [], - [ - AC_MSG_WARN([library check was not found on the system, unit tests will be disabled]) - BUILD_TESTS="no" - ] - ) - fi -fi - if test "x$WIN32" = "xyes"; then AC_CHECK_LIB(ws2_32, main, [ -- cgit v1.2.3