From 0647b37dfc35145d74822844ad7e54bf5c218369 Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Mon, 21 Jun 2010 21:08:51 -0400 Subject: Move to autotools [rydberg@euromail.se: minor fixups] Signed-off-by: Chase Douglas Signed-off-by: Henrik Rydberg --- configure.ac | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 configure.ac (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..cb59c11 --- /dev/null +++ b/configure.ac @@ -0,0 +1,33 @@ +# Initialize Autoconf +AC_PREREQ([2.60]) +AC_INIT([Multitouch Protocol Translation Library], + [1.0.0], + [], + [mtdev]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) + +# Initialize Automake +AM_INIT_AUTOMAKE([foreign dist-bzip2]) +AM_MAINTAINER_MODE + +LIB_VERSION=1:0:0 +AC_SUBST([LIB_VERSION]) + +# Initialize libtool +AC_PROG_LIBTOOL + +# Checks for programs. +AC_PROG_CC +AC_PROG_INSTALL + +# Initialize X.Org macros +m4_ifndef([XORG_MACROS_VERSION], + [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.5) +XORG_DEFAULT_OPTIONS + +AC_CONFIG_FILES([Makefile + src/Makefile + mtdev.pc]) +AC_OUTPUT -- cgit v1.2.3