]> granicus.if.org Git - graphviz/commitdiff
Use ordinary dotgen even with cgraph
authorEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:48:09 +0000 (14:48 -0400)
committerEmden Gansner <erg@research.att.com>
Fri, 7 Oct 2011 18:48:09 +0000 (14:48 -0400)
plugin/dot_layout/Makefile.am
plugin/dot_layout/gvlayout_dot_layout.c

index ef843fb523963e9839c3d3d7242d285a1b9d300c..6def5985fba9873d380bb35c606987a302f59308 100644 (file)
@@ -29,7 +29,7 @@ libgvplugin_dot_layout_C_la_SOURCES = \
        gvlayout_dot_layout.c
 if WITH_CGRAPH
 libgvplugin_dot_layout_C_la_LIBADD = \
-       $(top_builddir)/lib/dotgen2/libdotgen2_C.la
+       $(top_builddir)/lib/dotgen/libdotgen_C.la
 else
 libgvplugin_dot_layout_C_la_LIBADD = \
        $(top_builddir)/lib/dotgen/libdotgen_C.la 
index 368b48ad05c65a3950f898110b890869155e0904..2e57cbee49c9356fb4d52b2a5c764710100fb082 100644 (file)
@@ -32,12 +32,12 @@ typedef enum { LAYOUT_DOT, } layout_type;
 #ifdef WITH_CGRAPH
     #pragma comment( lib, "cgraph.lib" )
     #pragma comment( lib, "dotgen2.lib" )
-    extern void dot2_layout(graph_t * g);
-    extern void dot2_cleanup(graph_t * g);
+    extern void dot_layout(graph_t * g);
+    extern void dot_cleanup(graph_t * g);
 
     gvlayout_engine_t dotgen_engine = {
-    dot2_layout,
-    dot2_cleanup,
+    dot_layout,
+    dot_cleanup,
     };