[AC_HELP_STRING([--with-digcola],
[with DIGCOLA features in neato layout engine])])
+### default is to build with digcola
if test "x$with_digcola" != "xno"; then
+ with_digcola=yes
+fi
+
+if test "x$with_digcola" == "xyes"; then
AC_DEFINE_UNQUOTED(DIGCOLA,1,[Define if you want DIGCOLA])
else
AC_MSG_WARN(Optional DIGCOLA is disabled)
[with IPSEPCOLA features in neato layout engine])])
-if test "x$with_digcola" != "xno"; then
+### default is to build with digcola
+if test "x$with_ipsepcola" != "xno"; then
with_ipsepcola=yes
fi
+### unless digcola was not enabled since ipsecola depends on it
+if test "x$with_digcola" == "xno"; then
+ with_ipsepcola=no
+fi
+
if test "x$with_ipsepcola" = "xyes"; then
AC_DEFINE_UNQUOTED(IPSEPCOLA,1,[Define if you want IPSEPCOLA])
IPSEPCOLA_INCLUDES='-I$(top_srcdir)/lib/vpsc'