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