From 994ff4c5a76ccabf6fcef67dd8d3891290cc132f Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 25 Feb 2017 18:24:11 +0100 Subject: build: provide better message when tests deps not found --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6e6b490..532f281 100644 --- a/configure.ac +++ b/configure.ac @@ -169,9 +169,9 @@ AS_IF([test "x$enable_tests" != "xno"], [ have_tests=no TESTS="disabled" AS_IF([test "x$enable_tests" = "xyes"], [ - AC_MSG_ERROR([tests requested but cmocka not found]) + AC_MSG_ERROR([tests requested but cmocka was not found or -wrap is not supported by your linker]) ], [ - AC_MSG_WARN([cmocka not found, install it to run tests]) + AC_MSG_WARN([cmocka was not found or -wrap is not supported by your linker, disabling tests]) ]) ]) -- cgit v1.2.3-18-g5258