[PATCH 1/3] Add dependency checking for the check module.

U. Artie Eoff ullysses.a.eoff at intel.com
Wed Feb 29 12:07:20 PST 2012


From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>

Check is a unit testing framework for C
(http://check.sourceforge.net/) and will be used for writing
wayland unit tests.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
---
 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index b709e3c..505c2c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,6 +54,10 @@ AM_CONDITIONAL([HAVE_XSLTPROC], [test $XSLTPROC != ""])
 AC_PATH_PROG(PUBLICAN, publican)
 AM_CONDITIONAL([HAVE_PUBLICAN], [test $PUBLICAN != ""])
 
+# Check for the 'check' unit testing framework for C
+# http://check.sourceforge.net/
+PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
+
 AC_CONFIG_FILES([Makefile
 		 wayland-scanner.m4
 		 doc/Makefile
-- 
1.7.7.6



More information about the wayland-devel mailing list