configure.ac revision 8abc0ccf
17a0395d0Smrgdnl  Copyright 2005 Red Hat, Inc.
296402570Smrgdnl
37a0395d0Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
47a0395d0Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
57a0395d0Smrgdnl  the above copyright notice appear in all copies and that both that
67a0395d0Smrgdnl  copyright notice and this permission notice appear in supporting
77a0395d0Smrgdnl  documentation, and that the name of Red Hat not be used in
87a0395d0Smrgdnl  advertising or publicity pertaining to distribution of the software without
97a0395d0Smrgdnl  specific, written prior permission.  Red Hat makes no
107a0395d0Smrgdnl  representations about the suitability of this software for any purpose.  It
117a0395d0Smrgdnl  is provided "as is" without express or implied warranty.
1296402570Smrgdnl
137a0395d0Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
147a0395d0Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
157a0395d0Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
167a0395d0Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
177a0395d0Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
187a0395d0Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
197a0395d0Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
207a0395d0Smrgdnl
217a0395d0Smrgdnl Process this file with autoconf to create configure.
227a0395d0Smrg
232adc0320SmrgAC_PREREQ([2.60])
242adc0320SmrgAC_INIT([xauth],
258abc0ccfSmrg	[1.0.8],
262adc0320Smrg	[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
272adc0320Smrg	[xauth])
282adc0320SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
297a0395d0SmrgAM_MAINTAINER_MODE
307a0395d0Smrg
312852888eSmrgAC_CONFIG_HEADERS([config.h])
327a0395d0Smrg
332adc0320Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
342adc0320Smrgm4_ifndef([XORG_MACROS_VERSION],
352adc0320Smrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
362adc0320SmrgXORG_MACROS_VERSION(1.8)
377366012aSmrgXORG_DEFAULT_OPTIONS
387366012aSmrg
397a0395d0SmrgAC_CHECK_HEADERS([net/errno.h])
407a0395d0Smrg
412adc0320SmrgAC_CHECK_FUNCS([strlcpy])
422adc0320Smrg
437a0395d0Smrg# Checks for pkg-config packages
448abc0ccfSmrgPKG_CHECK_MODULES(XAUTH, x11 xau xext xmuu xproto >= 7.0.17)
457a0395d0Smrg
467a0395d0Smrg# Transport selection macro from xtrans.m4
4796402570Smrg# Needed to set *CONN defines for gethost.c & parsedpy.c
487a0395d0SmrgXTRANS_CONNECTION_FLAGS
497a0395d0Smrg
507a0395d0SmrgXORG_WITH_LINT
517a0395d0Smrg
522852888eSmrgAC_CONFIG_FILES([
532852888eSmrg	Makefile
548abc0ccfSmrg	tests/Makefile
552852888eSmrg	man/Makefile])
562852888eSmrgAC_OUTPUT
57