diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 33 |
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 | ||
| 2 | AC_PREREQ([2.60]) | ||
| 3 | AC_INIT([Multitouch Protocol Translation Library], | ||
| 4 | [1.0.0], | ||
| 5 | [], | ||
| 6 | [mtdev]) | ||
| 7 | AC_CONFIG_SRCDIR([Makefile.am]) | ||
| 8 | AC_CONFIG_HEADERS([config.h]) | ||
| 9 | |||
| 10 | # Initialize Automake | ||
| 11 | AM_INIT_AUTOMAKE([foreign dist-bzip2]) | ||
| 12 | AM_MAINTAINER_MODE | ||
| 13 | |||
| 14 | LIB_VERSION=1:0:0 | ||
| 15 | AC_SUBST([LIB_VERSION]) | ||
| 16 | |||
| 17 | # Initialize libtool | ||
| 18 | AC_PROG_LIBTOOL | ||
| 19 | |||
| 20 | # Checks for programs. | ||
| 21 | AC_PROG_CC | ||
| 22 | AC_PROG_INSTALL | ||
| 23 | |||
| 24 | # Initialize X.Org macros | ||
| 25 | m4_ifndef([XORG_MACROS_VERSION], | ||
| 26 | [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) | ||
| 27 | XORG_MACROS_VERSION(1.5) | ||
| 28 | XORG_DEFAULT_OPTIONS | ||
| 29 | |||
| 30 | AC_CONFIG_FILES([Makefile | ||
| 31 | src/Makefile | ||
| 32 | mtdev.pc]) | ||
| 33 | AC_OUTPUT | ||
