configure.ac revision 7a0395d0
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
237a0395d0SmrgAC_PREREQ([2.57])
247a0395d0SmrgAC_INIT(xauth,[1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xauth)
257a0395d0SmrgAM_INIT_AUTOMAKE([dist-bzip2])
267a0395d0SmrgAM_MAINTAINER_MODE
277a0395d0Smrg
287a0395d0SmrgAM_CONFIG_HEADER(config.h)
297a0395d0Smrg
307a0395d0Smrg# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
317a0395d0Smrgm4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1 or later before running autoconf/autogen])])
327a0395d0SmrgXORG_MACROS_VERSION(1.1)
337a0395d0Smrg
347a0395d0SmrgAC_PROG_CC
357a0395d0SmrgAC_PROG_INSTALL
367a0395d0Smrg
377a0395d0SmrgAC_TYPE_SIGNAL
387a0395d0Smrg
397a0395d0SmrgAC_CHECK_HEADERS([net/errno.h])
407a0395d0Smrg
417a0395d0Smrg# Checks for pkg-config packages
427a0395d0SmrgPKG_CHECK_MODULES(XAUTH, x11 xau xext xmuu)
437a0395d0SmrgAC_SUBST(XAUTH_CFLAGS)
447a0395d0SmrgAC_SUBST(XAUTH_LIBS)
457a0395d0Smrg
467a0395d0Smrg# Transport selection macro from xtrans.m4
477a0395d0Smrg# Needed to set *CONN defines for gethost.c & parsedpy.c 
487a0395d0SmrgXTRANS_CONNECTION_FLAGS
497a0395d0Smrg
507a0395d0SmrgXORG_WITH_LINT
517a0395d0SmrgXORG_MANPAGE_SECTIONS
527a0395d0SmrgXORG_RELEASE_VERSION
537a0395d0Smrg
547a0395d0SmrgAC_OUTPUT([Makefile])
55