~ubuntu-branches/ubuntu/precise/libfs/precise-security

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-07-23 00:15:32 UTC
  • Revision ID: james.westby@ubuntu.com-20050723001532-1n80puvkrct21vfl
Tags: upstream-3.0.0
Import upstream version 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl  $Id: configure.ac,v 1.5 2005/07/16 06:20:22 daniels Exp $
 
2
dnl 
 
3
dnl  Copyright © 2003 Keith Packard, Noah Levitt
 
4
dnl 
 
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.
 
14
dnl 
 
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.
 
22
dnl
 
23
dnl Process this file with autoconf to create configure.
 
24
 
 
25
AC_PREREQ([2.57])
 
26
 
 
27
dnl
 
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
 
34
dnl synchronized.
 
35
dnl
 
36
AC_INIT(libFS, 3.0.0, [keithp@keithp.com], libFS)
 
37
AM_INIT_AUTOMAKE([dist-bzip2])
 
38
AM_MAINTAINER_MODE
 
39
 
 
40
AM_CONFIG_HEADER(config.h)
 
41
 
 
42
# Check for progs
 
43
AC_PROG_CC
 
44
AC_PROG_LIBTOOL
 
45
 
 
46
# Check for dependencies
 
47
PKG_CHECK_MODULES(DEP, xproto fontsproto)
 
48
AC_SUBST(DEP_CFLAGS)
 
49
AC_SUBST(DEP_LIBS)
 
50
#
 
51
# Split out so we don't include xtrans C flags in fs.pc
 
52
#
 
53
PKG_CHECK_MODULES(XTRANS, xtrans)
 
54
AC_SUBST(XTRANS_CFLAGS)
 
55
AC_SUBST(XTRANS_LIBS)
 
56
 
 
57
XTRANS_CONNECTION_FLAGS
 
58
 
 
59
                  
 
60
# Check fixesext configuration, strip extra digits from package version to
 
61
# find the required protocol version
 
62
 
 
63
AC_OUTPUT([Makefile
 
64
           src/Makefile
 
65
           libfs.pc])