1966bf024Smrgdnl 
2966bf024Smrgdnl  Copyright © 2003 Keith Packard, Noah Levitt
3966bf024Smrgdnl 
4966bf024Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
5966bf024Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
6966bf024Smrgdnl  the above copyright notice appear in all copies and that both that
7966bf024Smrgdnl  copyright notice and this permission notice appear in supporting
8966bf024Smrgdnl  documentation, and that the name of Keith Packard not be used in
9966bf024Smrgdnl  advertising or publicity pertaining to distribution of the software without
10966bf024Smrgdnl  specific, written prior permission.  Keith Packard makes no
11966bf024Smrgdnl  representations about the suitability of this software for any purpose.  It
12966bf024Smrgdnl  is provided "as is" without express or implied warranty.
13966bf024Smrgdnl 
14966bf024Smrgdnl  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15966bf024Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16966bf024Smrgdnl  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17966bf024Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18966bf024Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19966bf024Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20966bf024Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
21966bf024Smrgdnl
22966bf024Smrgdnl Process this file with autoconf to create configure.
23966bf024Smrg
24966bf024SmrgAC_PREREQ([2.57])
25966bf024Smrg
269384b2f3SmrgAC_INIT(libXTrap, 1.0.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXTrap)
279384b2f3SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2])
28966bf024SmrgAM_MAINTAINER_MODE
29966bf024Smrg
309384b2f3Smrg# Require xorg-macros: XORG_COMPILER_FLAGS, XORG_CHANGELOG
319384b2f3Smrgm4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.17 or later before running autoconf/autogen])])
329384b2f3SmrgXORG_MACROS_VERSION(1.17)
339384b2f3SmrgAC_CONFIG_HEADERS([config.h])
34966bf024Smrg
35966bf024Smrg# Check for progs
36966bf024SmrgAC_PROG_CC
37966bf024SmrgAC_PROG_LIBTOOL
389384b2f3SmrgXORG_COMPILER_FLAGS
39966bf024Smrg
40966bf024Smrg# Check for dependencies
41966bf024SmrgPKG_CHECK_MODULES(XTRAP, x11 xt trapproto xext xextproto)
429384b2f3SmrgXTRAP_CFLAGS="$BASE_CFLAGS $XTRAP_CFLAGS"
43966bf024SmrgAC_SUBST(XTRAP_CFLAGS)
44966bf024SmrgAC_SUBST(XTRAP_LIBS)
45966bf024Smrg
46966bf024SmrgXORG_RELEASE_VERSION
479384b2f3SmrgXORG_CHANGELOG
48966bf024Smrg
49966bf024SmrgAC_OUTPUT([Makefile
50966bf024Smrg	   src/Makefile
51966bf024Smrg           xtrap.pc])
52966bf024Smrg
53