summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-12-17 19:19:03 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-12-17 19:19:03 -0800
commit03f6a08c503ff12e2457a9ccc13bfbb801e2161d (patch)
tree2708a6c6fad46de6fdce5581eba9f2341638b900 /configure.ac
parent0ca983a6bac03489fb0d2ad158114a811eb276a2 (diff)
Use XORG_CWARNFLAGS & XORG_CHANGELOG from xorg-macros 1.2
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ae5436c..18d73ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,12 @@ AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
+# Require xorg-macros version >= 1.2.0 for XORG_CWARNFLAGS & XORG_CHANGELOG
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.2)
+
AC_PROG_CC
+XORG_CWARNFLAGS
AC_PROG_INSTALL
AC_CHECK_LIB(z, gzopen, [],
@@ -53,5 +58,6 @@ AC_SUBST(X11_CFLAGS)
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
+XORG_CHANGELOG
AC_OUTPUT([Makefile])