From 57a201a15637cfea6c15a4d0ed8b629c9cd49495 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 6 Jun 2007 14:11:04 -0700 Subject: Add hooks to check code with sparse/lint --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a7fc7ae..554ab13 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,11 @@ AC_PROG_LIBTOOL # Check for dependencies PKG_CHECK_MODULES(XTST, x11 xext recordproto xextproto inputproto) +dnl Allow checking code with lint, sparse, etc. +XORG_WITH_LINT +XORG_LINT_LIBRARY([Xtst]) +LINT_FLAGS="${LINT_FLAGS} ${XTST_CFLAGS}" + AC_SUBST(XTST_CFLAGS) AC_SUBST(XTST_LIBS) -- cgit v1.2.3