diff options
| author | Chase Douglas <chase.douglas@canonical.com> | 2010-06-21 21:08:51 -0400 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-22 11:44:16 +0200 |
| commit | 0647b37dfc35145d74822844ad7e54bf5c218369 (patch) | |
| tree | 47225422ade9159ac08d61bcf16a4a45cf336dfb /configure.ac | |
| parent | 172221f14fc91ebb37aa4c561ad733088cc3c3bf (diff) | |
Move to autotools
[rydberg@euromail.se: minor fixups]
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
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 | ||
