summaryrefslogtreecommitdiff
path: root/app/xkbutils/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'app/xkbutils/configure.ac')
-rw-r--r--app/xkbutils/configure.ac23
1 files changed, 15 insertions, 8 deletions
diff --git a/app/xkbutils/configure.ac b/app/xkbutils/configure.ac
index 4e7ee7693..2908135fe 100644
--- a/app/xkbutils/configure.ac
+++ b/app/xkbutils/configure.ac
@@ -21,11 +21,17 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([xkbutils], [1.0.3],
+AC_INIT([xkbutils], [1.0.4],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xkbutils])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
+AM_PROG_CC_C_O
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
m4_ifndef([XORG_MACROS_VERSION],
@@ -33,17 +39,18 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-AM_CONFIG_HEADER(config.h)
-
-AM_PROG_CC_C_O
+AC_CHECK_FUNCS([strcasecmp])
# xkbvleds checks
-PKG_CHECK_MODULES(XKBVLEDS, xproto xaw7 xt x11)
+PKG_CHECK_MODULES(XKBVLEDS, [xproto >= 7.0.17 xaw7 xt x11])
# xkbbell checks
-PKG_CHECK_MODULES(XKBBELL, xproto inputproto x11)
+PKG_CHECK_MODULES(XKBBELL, [xproto inputproto x11])
# xkbwatch checks
-PKG_CHECK_MODULES(XKBWATCH, xproto xaw7 xt x11)
+PKG_CHECK_MODULES(XKBWATCH, [xproto >= 7.0.17 xaw7 xt x11])
-AC_OUTPUT([Makefile])
+AC_CONFIG_FILES([
+ Makefile
+ man/Makefile])
+AC_OUTPUT