Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] cleanup the detection of graphviz
[simgrid.git] / src / simdag / sd_dotloader.cpp
index d33cb25..2a93172 100644 (file)
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sd_dotparse, sd, "Parsing DOT files");
 
-#ifdef HAVE_CGRAPH_H
+#ifdef HAVE_GRAPHVIZ
 #include <graphviz/cgraph.h>
-#elif HAVE_AGRAPH_H
-#include <graphviz/agraph.h>
-#define agnxtnode(dot, node)    agnxtnode(node)
-#define agfstout(dot, node)     agfstout(node)
-#define agnxtout(dot, edge)     agnxtout(edge)
 #endif
 
 typedef enum {