Add default Smack manifest for libXTrap.spec
[pkgs/xorg/lib/libxtrap.git] / configure.ac
1 dnl 
2 dnl  $Id$
3 dnl 
4 dnl  Copyright © 2003 Keith Packard, Noah Levitt
5 dnl 
6 dnl  Permission to use, copy, modify, distribute, and sell this software and its
7 dnl  documentation for any purpose is hereby granted without fee, provided that
8 dnl  the above copyright notice appear in all copies and that both that
9 dnl  copyright notice and this permission notice appear in supporting
10 dnl  documentation, and that the name of Keith Packard not be used in
11 dnl  advertising or publicity pertaining to distribution of the software without
12 dnl  specific, written prior permission.  Keith Packard makes no
13 dnl  representations about the suitability of this software for any purpose.  It
14 dnl  is provided "as is" without express or implied warranty.
15 dnl 
16 dnl  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 dnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 dnl  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 dnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 dnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 dnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 dnl  PERFORMANCE OF THIS SOFTWARE.
23 dnl
24 dnl Process this file with autoconf to create configure.
25
26 AC_PREREQ([2.57])
27
28 AC_INIT(libXTrap, 1.0.0, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXTrap)
29 AM_INIT_AUTOMAKE([dist-bzip2])
30 AM_MAINTAINER_MODE
31
32 AM_CONFIG_HEADER(config.h)
33
34 # Check for progs
35 AC_PROG_CC
36 AC_PROG_LIBTOOL
37
38 # Check for dependencies
39 PKG_CHECK_MODULES(XTRAP, x11 xt trapproto xext xextproto)
40 AC_SUBST(XTRAP_CFLAGS)
41 AC_SUBST(XTRAP_LIBS)
42
43 XORG_RELEASE_VERSION
44
45 AC_OUTPUT([Makefile
46            src/Makefile
47            xtrap.pc])
48