summaryrefslogtreecommitdiffabout
path: root/configure.ac
Side-by-side diff
Diffstat (limited to 'configure.ac') (more/less context) (show whitespace changes)
-rw-r--r--configure.ac23
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