summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-10-12 19:32:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-10-12 20:22:28 -0400
commit1ddcff389d1cf42f90f883ea0b9db668182b3bda (patch)
tree931eddcb78359db65634455a5ac90b9cfdff7d71 /configure.ac
parentec79e5ad1f9614038575989e96e9f5c075a33efe (diff)
Add support for Skribe document format.
* haunt/skribe.scm: New file. * haunt/skribe/utils.scm: New file. * haunt/reader/skribe.scm: New file. * configure.ac: Check for guile-reader. * Makefile.am (SOURCES): Add Skribe modules when guile-reader is available. * example/haunt.scm: Include Skribe reader. * example/posts/baz.skr: New file. * README.md ("Requirements"): Mention guile-reader as optional dependency.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 46b186c..c623045 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,4 +12,8 @@ AC_CONFIG_FILES([scripts/haunt], [chmod +x scripts/haunt])
GUILE_PROGS([2.0.11])
+dnl Guile-reader is needed for Skribe support
+GUILE_MODULE_AVAILABLE([have_guile_reader], [(system reader)])
+AM_CONDITIONAL([HAVE_GUILE_READER], [test "x$have_guile_reader" = "xyes"])
+
AC_OUTPUT