From 97d45b004ca4aeba87977237fabe891d66f5f97d Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 30 Apr 2008 03:43:33 +0000 Subject: [PATCH] Fix code to rely on explicit --with-sfdp in configure --- plugin/neato_layout/gvlayout_neato_layout.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/neato_layout/gvlayout_neato_layout.c b/plugin/neato_layout/gvlayout_neato_layout.c index e59731b0a..0c8c3d4ab 100644 --- a/plugin/neato_layout/gvlayout_neato_layout.c +++ b/plugin/neato_layout/gvlayout_neato_layout.c @@ -74,10 +74,12 @@ gvlayout_engine_t fdpgen_engine = { fdp_cleanup, }; +#ifdef SFDP gvlayout_engine_t sfdpgen_engine = { sfdp_layout, sfdp_cleanup, }; +#endif gvlayout_engine_t twopigen_engine = { twopi_layout, @@ -106,7 +108,9 @@ gvlayout_features_t neatogen_features = { gvplugin_installed_t gvlayout_neato_types[] = { {LAYOUT_NEATO, "neato", 0, &neatogen_engine, &neatogen_features}, {LAYOUT_FDP, "fdp", 0, &fdpgen_engine, &neatogen_features}, +#ifdef SFDP {LAYOUT_SFDP, "sfdp", 0, &sfdpgen_engine, &neatogen_features}, +#endif {LAYOUT_TWOPI, "twopi", 0, &twopigen_engine, &neatogen_features}, {LAYOUT_CIRCO, "circo", 0, &circogen_engine, &neatogen_features}, {LAYOUT_NOP1, "nop", 0, &nop1gen_engine, &neatogen_features}, -- 2.40.0