summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-12-01 13:58:31 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-12-01 13:58:31 -0800
commit9f12a154437554938a4fa18b7d3948c7dff8d631 (patch)
treed887f0dc92f906691ecea2a61caffc08520d90ae /configure.ac
parent8c313881a0c586179c09922a7e00a1f8d669a68a (diff)
downloadxorg-lib-libxtrans-9f12a154437554938a4fa18b7d3948c7dff8d631.tar.gz
Switch ChangeLog generation to use XORG_CHANGELOG from xorg-macros 1.2
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 19b736f..dff9d46 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,10 @@ AC_INIT(xtrans, 1.2.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)
+
# Because xtrans is included into other modules rather than being linked
# with, these defines have to be added to the cflags line
@@ -44,6 +48,7 @@ sticky_bit_define="-DHAS_STICKY_DIR_BIT"
AC_SUBST(sticky_bit_define)
XORG_RELEASE_VERSION
+XORG_CHANGELOG
AC_OUTPUT([Makefile
xtrans.pc])