leftydir = $(pkgdatadir)/lefty
pdfdir = $(pkgdatadir)/doc/pdf
-DEFINES=-DLEFTYPATH=\"$(LEFTYLIBDIR)\" -DHAVE_CONFIG_H \
- -DFEATURE_MINTSIZE -DFEATURE_DOT -DFEATURE_X11
+DEFINES=-DLEFTYPATH=\"$(LEFTYLIBDIR)\" -DHAVE_CONFIG_H
AM_CPPFLAGS = \
-I$(top_srcdir)/cmd/lefty/ws/x11 \
OS = os/unix
LEFTYLIBDIR= $(LIBDIR)/lefty
-DEFINES=-DLEFTYPATH=\"$(LEFTYLIBDIR)\" -DHAVE_CONFIG_H \
- -DFEATURE_MINTSIZE -DFEATURE_DOT -DFEATURE_X11
+DEFINES=-DLEFTYPATH=\"$(LEFTYLIBDIR)\" -DHAVE_CONFIG_H
INCS = -I. -I$(ROOT) \
-I$(DOT2L) \
#define _COMMON_H
/* some config and conversion definitions from graphviz distribution */
+#ifdef HAVE_CONFIG_H
#include "config.h"
+/* we set some parameters which graphviz assumes.
+ * At some point, we could consider allowing these to be set in configure
+ * See Makefile.old for others.
+ */
+#define FEATURE_MINTSIZE 1
+#define FEATURE_DOT 1
+#ifndef MSWIN32
+#define FEATURE_X11 1
+#endif
+#endif
#ifdef _PACKAGE_ast
#include <ast.h>