From 7421760eae467b9cabdbdaaa34a2e9271cee5bcf Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 11 Sep 2013 09:21:32 +1000 Subject: [PATCH] Require check 0.9.9 0.9.9 is the first released version with fixed ck_assert_* macros that don't do multiple expansion. http://sourceforge.net/p/check/code/596/ Reported-by: Martin Minarik Signed-off-by: Peter Hutterer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d9f9dc9..8e56f42 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ if test "x$lt_cv_prog_gnu_ld" = "xyes"; then fi PKG_PROG_PKG_CONFIG() -PKG_CHECK_MODULES(CHECK, [check], [HAVE_CHECK="yes"], [HAVE_CHECK="no"]) +PKG_CHECK_MODULES(CHECK, [check >= 0.9.9], [HAVE_CHECK="yes"], [HAVE_CHECK="no"]) if test "x$HAVE_CHECK" != "xyes"; then AC_MSG_WARN([check not found - skipping building unit tests]) fi -- 2.7.4