summaryrefslogtreecommitdiff
path: root/app/xkbprint/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'app/xkbprint/configure.ac')
-rw-r--r--app/xkbprint/configure.ac12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/xkbprint/configure.ac b/app/xkbprint/configure.ac
index 568f7ce1b..51ed18db8 100644
--- a/app/xkbprint/configure.ac
+++ b/app/xkbprint/configure.ac
@@ -22,12 +22,17 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(xkbprint,[1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xkbprint)
+AC_INIT(xkbprint, [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xkbprint)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
-
AM_CONFIG_HEADER(config.h)
+# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
+m4_ifndef([XORG_MACROS_VERSION],
+ [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.3)
+XORG_DEFAULT_OPTIONS
+
AC_PROG_CC
AC_PROG_INSTALL
@@ -36,7 +41,4 @@ PKG_CHECK_MODULES(XKBPRINT, xkbfile x11)
AC_SUBST(XKBPRINT_CFLAGS)
AC_SUBST(XKBPRINT_LIBS)
-XORG_MANPAGE_SECTIONS
-XORG_RELEASE_VERSION
-
AC_OUTPUT([Makefile])