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

U. Artie Eoff ullysses.a.eoff at intel.com
Wed Feb 29 11:36:28 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 fc623e8..50ab47b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,10 @@ fi
 AC_PATH_PROG(XSLTPROC, xsltproc)
 AM_CONDITIONAL([HAVE_XSLTPROC], [test $XSLTPROC != ""])
 
+# 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
 		 src/Makefile
-- 
1.7.7.6



More information about the wayland-devel mailing list