-I$(top_srcdir)/lib/gvc \
-I$(top_srcdir)/lib/pathplan \
-I$(top_srcdir)/lib/graph \
- -I$(top_srcdir)/lib/cdt \
- -DBUILTINS
+ -I$(top_srcdir)/lib/cdt
if ENABLE_STATIC
bin_PROGRAMS = dot dot_static
-I$(top_srcdir)/lib/neatogen \
-I$(top_srcdir)/lib/gvc \
-I$(top_srcdir)/lib/common \
- -I$(top_srcdir)/lib/ingraphs @EXPAT_INCLUDES@ -DBUILTINS
+ -I$(top_srcdir)/lib/ingraphs @EXPAT_INCLUDES@
pdfdir = $(pkgdatadir)/doc/pdf
# Note: graphviz requires gd with gif support (and other fixes), hence use
# internal one for now.
-# select packages according to dist (set in .rpmmacros on each build host)
-
+# Define a default set incase none of the conditionals apply
%define CSHARP 0
%define GUILE 0
%define _IO 0
%define RUBY 0
%define TCL 1
+# Select packages according to dist (set in .rpmmacros on each build host)
+
+# These are all single line conditional blocks because older versions
+# of rpm can't handle multiline blocks/
%{?rh7: %{expand: %%define PERL 1}}
%{?rh7: %{expand: %%define TCL 1}}