~fginther/grail/grail-2.0.1.1-oneiric

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Stephen M. Webb
  • Date: 2011-06-16 17:32:09 UTC
  • mfrom: (20.2.17 upstream)
  • Revision ID: stephen.webb@canonical.com-20110616173209-v27s9kfefm9eedkg
* Remove unnecessary cdbs rules and build-depends.
* Added pivot disambiguation.
* Added rotation and pinch center coordinates.
* Added XInput device autodetection.
* New upstream release v2.0.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Initialize Autoconf
2
2
AC_PREREQ([2.60])
3
3
AC_INIT([Gesture Recognition And Instantiation Library],
4
 
        [1.0.20],
 
4
        [2.0.0],
5
5
        [],
6
6
        [utouch-grail])
7
7
AC_CONFIG_SRCDIR([Makefile.am])
12
12
AM_INIT_AUTOMAKE([foreign dist-bzip2])
13
13
AM_MAINTAINER_MODE
14
14
 
15
 
LIB_VERSION=1:0:0
 
15
LIB_VERSION=2:0:1
16
16
AC_SUBST([LIB_VERSION])
17
17
 
18
18
# Initialize libtool
23
23
AC_PROG_INSTALL
24
24
 
25
25
PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1])
26
 
PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0])
 
26
PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0.5])
27
27
PKG_CHECK_MODULES([FRAME], [utouch-frame >= 1.0])
28
28
 
 
29
AC_ARG_WITH([xi], AS_HELP_STRING([--with-xi], [Build with XI2.1 support]))
 
30
AM_CONDITIONAL([HAVE_XI], [test "x$with_xi" != "x"])
 
31
 
 
32
AS_IF([test "x$with_xi" = "xyes"], [
 
33
   PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.4.1.99.1] [inputproto >= 2.0.99.1])
 
34
   AC_DEFINE([HAVE_XI], [1], [XI2.1 support])
 
35
])
 
36
# Check for TDD tools
 
37
PKG_CHECK_MODULES([CHECK], [check >= 0.9.8],
 
38
                  [have_check=yes],
 
39
                  AC_MSG_WARN([package 'check' not found: tests disabled]))
 
40
AM_CONDITIONAL([HAVE_CHECK],[test "x$have_check" = xyes])
 
41
 
29
42
AC_CONFIG_FILES([Makefile
30
43
                 src/Makefile
31
44
                 tools/Makefile
32
45
                 test/Makefile
33
 
                 utouch-grail.sym
34
46
                 utouch-grail.pc])
35
47
AC_OUTPUT
 
48