From 354fd27e45f966832d1729663935e8d076b35583 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 10 Jun 2008 19:49:06 +0000 Subject: [PATCH] enable CGRAPH --- configure.ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configure.ac b/configure.ac index 614f7fde9..45852a7eb 100644 --- a/configure.ac +++ b/configure.ac @@ -2586,6 +2586,21 @@ else fi AM_CONDITIONAL(WITH_SMYRNA, [test "x$use_smyrna" = "xYes"]) +dnl ----------------------------------- +dnl CGRAPH + +AC_ARG_WITH(cgraph, + [AC_HELP_STRING([--with-cgraph=yes], [Use CGRAPH library])], + [], [with_cgraph=yes]) + +if test "x$with_cgraph" != "xyes"; then + use_cgraph="No" +else + use_cgraph="Yes" + AC_DEFINE_UNQUOTED(USE_CGRAPH,1,[Define if you want CGRAPH]) +fi +AM_CONDITIONAL(WITH_CGRAPH, [test "x$use_cgraph" = "xYes"]) + dnl ----------------------------------- dnl DIGCOLA @@ -2934,6 +2949,7 @@ echo "" echo "graphviz-$VERSION will be compiled with the following:" echo "" echo "options:" +echo " cgraph: $use_cgraph" echo " digcola: $use_digcola" echo " ipsepcola: $use_ipsepcola" echo " sfdp: $use_sfdp" -- 2.40.0