configure.ac revision 2adc0320
17a0395d0Smrgdnl  Copyright 2005 Red Hat, Inc.
27a0395d0Smrgdnl 
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.
127a0395d0Smrgdnl 
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],
252adc0320Smrg	[1.0.5],
262adc0320Smrg	[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
272adc0320Smrg	[xauth])
282adc0320SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
297a0395d0SmrgAM_MAINTAINER_MODE
307a0395d0Smrg
317a0395d0SmrgAM_CONFIG_HEADER(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_TYPE_SIGNAL
407a0395d0Smrg
417a0395d0SmrgAC_CHECK_HEADERS([net/errno.h])
427a0395d0Smrg
432adc0320SmrgAC_CHECK_FUNCS([strlcpy])
442adc0320Smrg
457a0395d0Smrg# Checks for pkg-config packages
467a0395d0SmrgPKG_CHECK_MODULES(XAUTH, x11 xau xext xmuu)
477a0395d0Smrg
487a0395d0Smrg# Transport selection macro from xtrans.m4
497a0395d0Smrg# Needed to set *CONN defines for gethost.c & parsedpy.c 
507a0395d0SmrgXTRANS_CONNECTION_FLAGS
517a0395d0Smrg
527a0395d0SmrgXORG_WITH_LINT
537a0395d0Smrg
547a0395d0SmrgAC_OUTPUT([Makefile])
55