Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-04-07 12:25:01 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-06-08 14:38:32 -0400
commit54d2eff8b90eac9838fd0168dab2f454b0f8dbf2 (patch)
tree7502403f1b19a563217dd1b4fde2867bddb20acc /configure.ac
parent657573ab6302750eeed4cb409ace91395f89a402 (diff)
downloadliza-54d2eff8b90eac9838fd0168dab2f454b0f8dbf2.tar.gz
liza-54d2eff8b90eac9838fd0168dab2f454b0f8dbf2.tar.bz2
liza-54d2eff8b90eac9838fd0168dab2f454b0f8dbf2.zip
Add diagram generation with graphviz
* configure.ac (TWOPI, HAS_TWOPI): Add variables. Check for towpi. * doc/.gitignore (diagrams/*.svg): Add output file ignore. * doc/Makefile.am: Add svg diagram building.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0b30840..63ed044 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,11 @@ AC_CHECK_PROGS(NODE, [node nodejs])
test -n "$NODE" || AC_MSG_ERROR([missing Node.js])
+# graphviz
+AC_ARG_VAR([TWOPI], [Graphviz twopi layout])
+AC_CHECK_PROGS(TWOPI, [twopi])
+AM_CONDITIONAL(HAS_TWOPI, [test "$TWOPI"])
+
# only needed for older versions of Node
AC_MSG_CHECKING([node --harmony_destructuring])
AS_IF([node --harmony_destructuring >/dev/null 2>/dev/null],