aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-25 18:24:11 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-25 18:24:11 +0100
commit994ff4c5a76ccabf6fcef67dd8d3891290cc132f (patch)
tree1eeaec8a51b09dbc003373122f73cd95b01e660f /configure.ac
parent805c35847902abfc74fe9a8fc3394a05ff8906d0 (diff)
downloadblogc-994ff4c5a76ccabf6fcef67dd8d3891290cc132f.tar.gz
blogc-994ff4c5a76ccabf6fcef67dd8d3891290cc132f.tar.bz2
blogc-994ff4c5a76ccabf6fcef67dd8d3891290cc132f.zip
build: provide better message when tests deps not found
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files 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])
])
])