summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-02 02:25:41 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-02 02:25:41 -0200
commite7d66545e71cdd223761ce14416cbebccbd6dd75 (patch)
tree9e846ac9ebe3244417a699c8cf6d77b8afc994fa /configure.ac
parent99faa7b727a5441b0dfeed72f43571a85ff0a079 (diff)
Use new XORG_CWARNFLAGS and XORG_CHANGELOG macros.
Also correct a possible uninitialized variable.
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 dc3a947..cd74d5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,10 @@ AC_INIT(xedit,[1.1.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
+# Require xorg-macros version 1.2.0 or newer for XORG_CHANGELOG macro
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.2)
+
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
@@ -71,5 +75,7 @@ AC_SUBST(appdefaultdir)
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
+XORG_CWARNFLAGS
+XORG_CHANGELOG
AC_OUTPUT([Makefile])