]> granicus.if.org Git - graphviz/commitdiff
enable CGRAPH
authorellson <devnull@localhost>
Tue, 10 Jun 2008 19:49:06 +0000 (19:49 +0000)
committerellson <devnull@localhost>
Tue, 10 Jun 2008 19:49:06 +0000 (19:49 +0000)
configure.ac

index 614f7fde94258ddbc1589906e0195a2dedc234c2..45852a7eb9de140c8b24197b057856ce6c1177f3 100644 (file)
@@ -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"