From: John Ellson Date: Tue, 14 Aug 2012 21:32:36 +0000 (-0400) Subject: Always build cgraph, regardless of --without-cgraph, because gvpr needs it X-Git-Tag: LAST_LIBGRAPH~32^2~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67add2a88c0c7eb85808bca6b2bac6c6c65a0b78;p=graphviz Always build cgraph, regardless of --without-cgraph, because gvpr needs it --- diff --git a/lib/cgraph/Makefile.am b/lib/cgraph/Makefile.am index 544bc1829..241ef97a5 100644 --- a/lib/cgraph/Makefile.am +++ b/lib/cgraph/Makefile.am @@ -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 \ diff --git a/tclpkg/tcldot/tcldot-edgecmd.c b/tclpkg/tcldot/tcldot-edgecmd.c index 3cb06d12d..9d842c5c5 100644 --- a/tclpkg/tcldot/tcldot-edgecmd.c +++ b/tclpkg/tcldot/tcldot-edgecmd.c @@ -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