summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-16 17:11:22 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-16 17:11:22 +0000
commit60c49309e5dddd22faf1b942e402812eb061bcf5 (patch)
tree9b3aabc8869167b1264816d8c073751afa5d8d4b
parentcd3c86115211d76cf488151512b57fbb9eb3165b (diff)
AC_CHECK_HEADERS_ONCE -> AC_CHECK_HEADERS to keep compatibility
with autoconf 2.59 for now.
-rw-r--r--app/xprop/configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/xprop/configure.ac b/app/xprop/configure.ac
index 3de9c3a1f..73052e7ad 100644
--- a/app/xprop/configure.ac
+++ b/app/xprop/configure.ac
@@ -22,20 +22,27 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(xprop,[1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xprop)
+AC_INIT(xprop,[1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xprop)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
+# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.1)
+
AC_PROG_CC
AC_PROG_INSTALL
+AC_CHECK_HEADERS([wchar.h wctype.h])
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(XPROP, xmuu x11)
AC_SUBST(XPROP_CFLAGS)
AC_SUBST(XPROP_LIBS)
+XORG_WITH_LINT
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION