summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-05-17 13:02:49 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-05-17 13:02:49 -0700
commit77cadcef6ea687e7181aa222c47402f34644a6ea (patch)
treeb6eaf42ae39b3694b445322595fbb26611ef2e02 /configure.ac
parent2afbb4393b1053fcb2edbec7c92575245efabffe (diff)
downloadiceauth-77cadcef6ea687e7181aa222c47402f34644a6ea.tar.gz
Add option to check 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 a7bf540..b1ad587 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
@@ -38,6 +42,7 @@ PKG_CHECK_MODULES(ICEAUTH, xproto ice)
AC_SUBST(ICEAUTH_CFLAGS)
AC_SUBST(ICEAUTH_LIBS)
+XORG_WITH_LINT
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION