-rw-r--r-- | configure.ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..4ecdb31 --- a/dev/null +++ b/configure.ac | |||
@@ -0,0 +1,23 @@ | |||
1 | AC_INIT([cliche],[0.0],[cliche-bugs@klever.net]) | ||
2 | AC_CONFIG_SRCDIR([src/cliche.rl]) | ||
3 | AC_CONFIG_HEADERS([config.h]) | ||
4 | AM_INIT_AUTOMAKE([check-news dist-bzip2 parallel-tests color-tests]) | ||
5 | |||
6 | AC_PROG_INSTALL | ||
7 | AC_PROG_CXX | ||
8 | AC_PATH_PROG([RAGEL],[ragel],[false]) | ||
9 | test "$RAGEL" = "false" && AC_MSG_ERROR([No ragel FSM compiler found]) | ||
10 | AC_PROG_SED | ||
11 | |||
12 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) | ||
13 | |||
14 | AC_CHECK_FUNC([getopt_long],[ | ||
15 | AC_DEFINE([HAVE_GETOPT_LONG],[1],[define to make use of getopt_long]) | ||
16 | ]) | ||
17 | |||
18 | AC_CONFIG_FILES([ | ||
19 | Makefile | ||
20 | src/Makefile | ||
21 | test/Makefile | ||
22 | ]) | ||
23 | AC_OUTPUT | ||