summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-02-02 13:58:34 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-02-02 13:58:34 -0200
commit245b7cffe78203eeb265ac73177ed258471cb227 (patch)
tree6ac48c0a15bd8d42ba435f1a8b830a0880a09c15 /configure.ac
parent2c0dc990a1ad96b71c95800d83378413eab63dbb (diff)
Janitor: make distcheck, compiler warnings, .gitignore.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 293b81b..b463825 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,23 +29,25 @@ 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)
+# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG, XORG_WITH_LINT
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.2)
# Check for progs
AC_PROG_CC
AC_PROG_LIBTOOL
+XORG_CWARNFLAGS
# Check for dependencies
PKG_CHECK_MODULES(XV, x11 xext xextproto videoproto)
-
+XV_CFLAGS="$CWARNFLAGS $XV_CFLAGS"
AC_SUBST(XV_CFLAGS)
AC_SUBST(XV_LIBS)
XORG_CHECK_MALLOC_ZERO
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
+XORG_CHANGELOG
dnl Allow checking code with lint, sparse, etc.
XORG_WITH_LINT