From: ellson <devnull@localhost>
Date: Thu, 23 Oct 2008 01:36:59 +0000 (+0000)
Subject: plugins ==> cgraph
X-Git-Tag: LAST_LIBGRAPH~32^2~3013
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=989aa1cb52ab7e1515e10da460517e53199810bc;p=graphviz

plugins ==> cgraph
---

diff --git a/plugin/gtk/Makefile.am b/plugin/gtk/Makefile.am
index 54c64ac3d..a9398022f 100644
--- a/plugin/gtk/Makefile.am
+++ b/plugin/gtk/Makefile.am
@@ -1,12 +1,18 @@
 # $Id$ $Revision$
 ## Process this file with automake to produce Makefile.in
 
+if WITH_CGRAPH
+GRAPH = cgraph
+else
+GRAPH = graph
+endif
+
 AM_CPPFLAGS = \
 	-I$(top_srcdir) \
         -I$(top_srcdir)/lib/common \
         -I$(top_srcdir)/lib/pathplan \
         -I$(top_srcdir)/lib/gvc \
-        -I$(top_srcdir)/lib/graph \
+        -I$(top_srcdir)/lib/$(GRAPH) \
         -I$(top_srcdir)/lib/cdt \
 	$(GTK_CFLAGS) $(GNOMEUI_CFLAGS)