summaryrefslogtreecommitdiff
path: root/app/xauth/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'app/xauth/configure.ac')
-rw-r--r--app/xauth/configure.ac10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/xauth/configure.ac b/app/xauth/configure.ac
index 5b3b3dd47..ffe378cbb 100644
--- a/app/xauth/configure.ac
+++ b/app/xauth/configure.ac
@@ -1,4 +1,3 @@
-
dnl Copyright 2005 Red Hat, Inc.
dnl
dnl Permission to use, copy, modify, distribute, and sell this software and its
@@ -22,17 +21,23 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ([2.57])
-AC_INIT(xauth,[1.0.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xauth)
+AC_INIT(xauth,[1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xauth)
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_TYPE_SIGNAL
+AC_CHECK_HEADERS([net/errno.h])
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(XAUTH, x11 xau xext xmuu)
AC_SUBST(XAUTH_CFLAGS)
@@ -42,6 +47,7 @@ AC_SUBST(XAUTH_LIBS)
# Needed to set *CONN defines for gethost.c & parsedpy.c
XTRANS_CONNECTION_FLAGS
+XORG_WITH_LINT
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION