]> granicus.if.org Git - graphviz/commitdiff
add configure test for lib/sfdpgen/triangle.[ch] and define HAVE_TRIANGLE is present
authorellson <devnull@localhost>
Wed, 4 Jun 2008 18:57:53 +0000 (18:57 +0000)
committerellson <devnull@localhost>
Wed, 4 Jun 2008 18:57:53 +0000 (18:57 +0000)
change tests to "#if defined", since HAVE_TRIANGLE is not defined if not present.

lib/neatogen/delaunay.c

index 5bd947710b7d7ea48c8915272addbb1b9561f27a..b4f315fd3bc6d9c2d3e6ce49478b17b4d7f212e9 100644 (file)
@@ -25,7 +25,7 @@
 #include "memory.h"
 #include "logic.h"
 
-#if HAVE_TRIANGLE
+#ifdef HAVE_TRIANGLE
 #define TRILIBRARY
 #include "triangle.c"