summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2010-06-21 21:08:51 -0400
committerHenrik Rydberg <rydberg@euromail.se>2010-06-22 11:44:16 +0200
commit0647b37dfc35145d74822844ad7e54bf5c218369 (patch)
tree47225422ade9159ac08d61bcf16a4a45cf336dfb /configure.ac
parent172221f14fc91ebb37aa4c561ad733088cc3c3bf (diff)
Move to autotools
[rydberg@euromail.se: minor fixups] Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac33
1 files changed, 33 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..cb59c11
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,33 @@
1# Initialize Autoconf
2AC_PREREQ([2.60])
3AC_INIT([Multitouch Protocol Translation Library],
4 [1.0.0],
5 [],
6 [mtdev])
7AC_CONFIG_SRCDIR([Makefile.am])
8AC_CONFIG_HEADERS([config.h])
9
10# Initialize Automake
11AM_INIT_AUTOMAKE([foreign dist-bzip2])
12AM_MAINTAINER_MODE
13
14LIB_VERSION=1:0:0
15AC_SUBST([LIB_VERSION])
16
17# Initialize libtool
18AC_PROG_LIBTOOL
19
20# Checks for programs.
21AC_PROG_CC
22AC_PROG_INSTALL
23
24# Initialize X.Org macros
25m4_ifndef([XORG_MACROS_VERSION],
26 [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])])
27XORG_MACROS_VERSION(1.5)
28XORG_DEFAULT_OPTIONS
29
30AC_CONFIG_FILES([Makefile
31 src/Makefile
32 mtdev.pc])
33AC_OUTPUT