]> granicus.if.org Git - graphviz/commitdiff
Always build cgraph, regardless of --without-cgraph, because gvpr needs it
authorJohn Ellson <ellson@research.att.com>
Tue, 14 Aug 2012 21:32:36 +0000 (17:32 -0400)
committerJohn Ellson <ellson@research.att.com>
Tue, 14 Aug 2012 21:32:36 +0000 (17:32 -0400)
lib/cgraph/Makefile.am
tclpkg/tcldot/tcldot-edgecmd.c

index 544bc182983bcfef391f0d51abbc51013d7f9814..241ef97a592ea923012b5f659b0d570e4f5d12d4 100644 (file)
@@ -10,7 +10,8 @@ AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/lib/cdt
 
-if WITH_CGRAPH
+# Always build cgraph, regardless of --without-cgraph, because gvpr needs it
+# if WITH_CGRAPH
 pkginclude_HEADERS = cgraph.h
 noinst_HEADERS = agxbuf.h cghdr.h malloc.h vmstub.h
 noinst_LTLIBRARIES = libcgraph_C.la
@@ -18,7 +19,7 @@ lib_LTLIBRARIES = libcgraph.la
 pkgconfig_DATA = libcgraph.pc
 man_MANS = cgraph.3
 pdf_DATA = cgraph.3.pdf
-endif
+endif
 
 libcgraph_C_la_SOURCES = agerror.c agxbuf.c apply.c attr.c edge.c \
        flatten.c graph.c grammar.y id.c imap.c io.c mem.c node.c \
index 3cb06d12d7aa5261396a06884a8e7ed95809693d..9d842c5c558df103f49421756da673570472fe74 100644 (file)
@@ -27,7 +27,7 @@ int edgecmd(ClientData clientData, Tcl_Interp * interp,
     Agedge_t *e;
     Agsym_t *a;
 #ifndef WITH_CGRAPH
-    buf[32];
+    char buf[32];
     Agedge_t **ep;
     ictx_t *ictx = (ictx_t *)clientData;
 #else