From: erg Date: Mon, 15 Jun 2009 18:24:48 +0000 (+0000) Subject: Replace #ifdef so overlap.c has content only if there is some X-Git-Tag: LAST_LIBGRAPH~32^2~1915 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=374ea0b22a3ed8645d1350b51d113aa45fe2d329;p=graphviz Replace #ifdef so overlap.c has content only if there is some triangle library and SFDP is defined. --- 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