From 374ea0b22a3ed8645d1350b51d113aa45fe2d329 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 15 Jun 2009 18:24:48 +0000 Subject: [PATCH] Replace #ifdef so overlap.c has content only if there is some triangle library and SFDP is defined. --- lib/neatogen/overlap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/neatogen/overlap.c b/lib/neatogen/overlap.c index 6a7fccffb..b4702c3e8 100644 --- a/lib/neatogen/overlap.c +++ b/lib/neatogen/overlap.c @@ -14,6 +14,8 @@ * AT&T Research, Florham Park NJ * **********************************************************/ +#if ((defined(HAVE_GTS) || defined(HAVE_TRIANGLE)) && defined(SFDP)) + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -511,3 +513,4 @@ void remove_overlap(int dim, SparseMatrix A, int m, real *x, real *label_sizes, #endif } +#endif -- 2.40.0