summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-12-30 20:51:35 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-01-02 09:18:44 +0100
commit41197333c6779832bd718fa55ed1b17d97e02304 (patch)
treeb907e56978a81305e838e52be366c95f11dcf549 /configure.ac
parent4b0f0873f91f7f37106fa39c6b8b5fa74f6a3dcc (diff)
Switch to autotools
To simplify the creation of packages for mtview, swtich to using the autoconf make tools. 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..b187080
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,33 @@
1# Initialize Autoconf
2AC_PREREQ([2.60])
3AC_INIT([Multitouch Viewer],
4 [1.0.0],
5 [],
6 [mtview])
7AC_CONFIG_SRCDIR([Makefile.am])
8AC_CONFIG_HEADERS([config.h])
9AC_CONFIG_AUX_DIR([config-aux])
10
11# Initialize Automake
12AM_INIT_AUTOMAKE([foreign dist-bzip2])
13AM_MAINTAINER_MODE
14
15LIB_VERSION=1:0:0
16AC_SUBST([LIB_VERSION])
17
18# Initialize libtool
19AC_PROG_LIBTOOL
20
21# Checks for programs.
22AC_PROG_CC
23AC_PROG_INSTALL
24
25PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.1])
26PKG_CHECK_MODULES([EVEMU], [utouch-evemu >= 1.0])
27PKG_CHECK_MODULES([FRAME], [utouch-frame >= 1.0])
28PKG_CHECK_MODULES([X11], [x11])
29
30AC_CONFIG_FILES([Makefile
31 tools/Makefile
32 mtview.pc])
33AC_OUTPUT