]> granicus.if.org Git - graphviz/commitdiff
cgraph fixes
authorellson <devnull@localhost>
Thu, 23 Oct 2008 01:18:08 +0000 (01:18 +0000)
committerellson <devnull@localhost>
Thu, 23 Oct 2008 01:18:08 +0000 (01:18 +0000)
plugin/devil/Makefile.am

index 80c92e619450a8ff67ff3a3244fb773e2e7a21b9..5dbd8089d72b33ce9ea2723bc5bb3527ac1fbfae 100644 (file)
@@ -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 \
        $(PANGOCAIRO_CFLAGS) $(DEVIL_CFLAGS)