Make configure.ac test the correct variable to conditionally warn of the
absence of 'check'.

Signed-off-by: Andrew Price <[email protected]>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6940d79..c8e52a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -278,4 +278,4 @@ AC_CONFIG_FILES([Makefile
 
 AC_OUTPUT
 
-test x"$BUILD_TESTS" = x && AC_MSG_NOTICE([package 'check' not found; unit 
tests will not be built])
+test x"$have_check" = "xyes" || AC_MSG_NOTICE([package 'check' not found; unit 
tests will not be built])
-- 
1.8.1.4

Reply via email to