From: Peter Hutterer Date: Tue, 10 Sep 2013 23:21:32 +0000 (+1000) Subject: Require check 0.9.9 X-Git-Tag: libevdev-0.4~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7421760eae467b9cabdbdaaa34a2e9271cee5bcf;p=platform%2Fupstream%2Flibevdev.git 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 --- 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