summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 18:54:51 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 18:54:51 -0800
commita527e14d16de2955dcdd6d14141f51987af7af2c (patch)
treef5421d0d4eab26c8d0fff7f62efe8516f4dce5f3 /configure.ac
parentfa9b494baacab74d354ee4d5e0f6a1342b2bc723 (diff)
Add hooks for checking source code with lint/sparse/etc.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5b3b3dd..9695294 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,10 @@ AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
+# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.1)
+
AC_PROG_CC
AC_PROG_INSTALL
@@ -42,6 +46,7 @@ AC_SUBST(XAUTH_LIBS)
# Needed to set *CONN defines for gethost.c & parsedpy.c
XTRANS_CONNECTION_FLAGS
+XORG_WITH_LINT
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION