1
dnl $Id: configure.ac,v 1.5 2005/07/16 06:20:22 daniels Exp $
3
dnl Copyright © 2003 Keith Packard, Noah Levitt
5
dnl Permission to use, copy, modify, distribute, and sell this software and its
6
dnl documentation for any purpose is hereby granted without fee, provided that
7
dnl the above copyright notice appear in all copies and that both that
8
dnl copyright notice and this permission notice appear in supporting
9
dnl documentation, and that the name of Keith Packard not be used in
10
dnl advertising or publicity pertaining to distribution of the software without
11
dnl specific, written prior permission. Keith Packard makes no
12
dnl representations about the suitability of this software for any purpose. It
13
dnl is provided "as is" without express or implied warranty.
15
dnl KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16
dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
17
dnl EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
18
dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
19
dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
20
dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
dnl PERFORMANCE OF THIS SOFTWARE.
23
dnl Process this file with autoconf to create configure.
28
dnl Version should match the current XFixes version. XFixesQueryVersion
29
dnl returns the version from xfixeswire.h, NOT the version we set here. But we
30
dnl try to keep these the same. Note that the library has an extra
31
dnl digit in the version number to track changes which don't affect the
32
dnl protocol, so Xfixes version l.n.m corresponds to protocol version l.n,
33
dnl that 'revision' number appears in Xfixes.h and has to be manually
36
AC_INIT(libFS, 3.0.0, [keithp@keithp.com], libFS)
37
AM_INIT_AUTOMAKE([dist-bzip2])
40
AM_CONFIG_HEADER(config.h)
46
# Check for dependencies
47
PKG_CHECK_MODULES(DEP, xproto fontsproto)
51
# Split out so we don't include xtrans C flags in fs.pc
53
PKG_CHECK_MODULES(XTRANS, xtrans)
54
AC_SUBST(XTRANS_CFLAGS)
57
XTRANS_CONNECTION_FLAGS
60
# Check fixesext configuration, strip extra digits from package version to
61
# find the required protocol version