summaryrefslogtreecommitdiff
path: root/app/luit/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-04 16:14:00 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-04 16:14:00 +0000
commitabe18d8a3de86ed358f65ceff89bedc1f519e630 (patch)
tree128fb3a8b702b1fc5fba2e92d1865cbcea83fd02 /app/luit/configure.ac
parent1435578951365337358d89623b531b2c68a1b07d (diff)
update to luit version 1.0.4.
Diffstat (limited to 'app/luit/configure.ac')
-rw-r--r--app/luit/configure.ac14
1 files changed, 10 insertions, 4 deletions
diff --git a/app/luit/configure.ac b/app/luit/configure.ac
index 2fb4fddc9..fae0f7bda 100644
--- a/app/luit/configure.ac
+++ b/app/luit/configure.ac
@@ -22,16 +22,25 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(luit,[1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],luit)
+AC_INIT(luit,[1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],luit)
AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
+# Require xorg-macros: XORG_DEFAULT_OPTIONS
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.3)
+
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
AC_CANONICAL_HOST
+XORG_DEFAULT_OPTIONS
+
+AC_CHECK_HEADERS([poll.h pty.h stropts.h sys/param.h sys/select.h])
+AC_CHECK_FUNCS([poll select grantpt])
+
AC_CHECK_LIB(z, gzopen,, AC_MSG_ERROR([zlib not found]))
AC_ARG_WITH(localealiasfile,
@@ -57,7 +66,4 @@ LUIT_CFLAGS="$LUIT_CFLAGS $OS_CFLAGS"
AC_SUBST(LUIT_CFLAGS)
AC_SUBST(LUIT_LIBS)
-XORG_MANPAGE_SECTIONS
-XORG_RELEASE_VERSION
-
AC_OUTPUT([Makefile])