2022-05-14 01:56:43 +08:00
|
|
|
# Initialize Autoconf
|
|
|
|
AC_PREREQ([2.60])
|
|
|
|
AC_INIT([Multitouch Protocol Translation Library],
|
2024-04-24 16:07:31 +08:00
|
|
|
[1.1.6],
|
2022-05-14 01:56:43 +08:00
|
|
|
[],
|
|
|
|
[mtdev])
|
|
|
|
AC_CONFIG_SRCDIR([Makefile.am])
|
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
AC_CONFIG_AUX_DIR([config-aux])
|
|
|
|
|
|
|
|
# Initialize Automake
|
|
|
|
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
|
|
|
AM_SILENT_RULES([yes])
|
|
|
|
|
|
|
|
LIB_VERSION=1:0:0
|
|
|
|
AC_SUBST([LIB_VERSION])
|
|
|
|
|
|
|
|
# Initialize libtool
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
# Checks for programs.
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
|
|
src/Makefile
|
|
|
|
test/Makefile
|
|
|
|
mtdev.pc])
|
|
|
|
AC_OUTPUT
|