summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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