[Rt-commit] rt branch, 4.0/graphviz-detection, created. rt-4.0.20-35-g3a64944
Alex Vandiver
alexmv at bestpractical.com
Mon Jun 9 19:00:57 EDT 2014
The branch, 4.0/graphviz-detection has been created
at 3a64944dbc1d3ef4d63116ac9fd1829dfed9a1d0 (commit)
- Log -----------------------------------------------------------------
commit 3a64944dbc1d3ef4d63116ac9fd1829dfed9a1d0
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Mon Jun 9 18:40:54 2014 -0400
GraphViz.pm does not depend on the libgraph.so, but rather the "dot" program
This allows `configure` to better detect when GraphViz will be able to
be installed smoothly. It may cause additional dependencies on an
upgrade -- however, failing to install these dependencies will not
change RT's behaviour in any way, as the --enable-graphviz option merely
controls default dependencies. Enabling and disabling of the feature is
done at startup time, based on the presence of the GraphViz module or
the $DisableGraphViz configuration option.
This also makes RT's `configure` no longer require a working gcc.
diff --git a/configure.ac b/configure.ac
index b8a9399..2dfda93 100755
--- a/configure.ac
+++ b/configure.ac
@@ -266,7 +266,7 @@ fi
AC_SUBST(RT_DEVEL_MODE)
dnl RT's GraphViz dependency charts
-AC_CHECK_LIB([graph],[aginitlib],RT_GRAPHVIZ="1")
+AC_CHECK_PROG([RT_GRAPHVIZ], [dot], "yes", "no")
AC_ARG_WITH(graphviz,[],RT_GRAPHVIZ=$withval)
AC_ARG_ENABLE(graphviz,
AC_HELP_STRING([--enable-graphviz],
-----------------------------------------------------------------------
More information about the rt-commit
mailing list