author | Michael Krelin <hacker@klever.net> | 2011-08-26 21:22:00 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2011-08-26 21:22:00 (UTC) |
commit | 1d00b262ddf0d6c3207a4b796d48899ed79bffcd (patch) (side-by-side diff) | |
tree | 03d745873ba13ffb0e2fe1831ecb41f7c0b05758 /configure.ac | |
download | cliche-0.0.zip cliche-0.0.tar.gz cliche-0.0.tar.bz2 |
initial commit into the public repository0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
-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 @@ +AC_INIT([cliche],[0.0],[cliche-bugs@klever.net]) +AC_CONFIG_SRCDIR([src/cliche.rl]) +AC_CONFIG_HEADERS([config.h]) +AM_INIT_AUTOMAKE([check-news dist-bzip2 parallel-tests color-tests]) + +AC_PROG_INSTALL +AC_PROG_CXX +AC_PATH_PROG([RAGEL],[ragel],[false]) +test "$RAGEL" = "false" && AC_MSG_ERROR([No ragel FSM compiler found]) +AC_PROG_SED + +AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) + +AC_CHECK_FUNC([getopt_long],[ + AC_DEFINE([HAVE_GETOPT_LONG],[1],[define to make use of getopt_long]) +]) + +AC_CONFIG_FILES([ + Makefile + src/Makefile + test/Makefile +]) +AC_OUTPUT |