[llvm-commits] CVS: llvm/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Tue Jul 12 20:20:26 PDT 2005



Changes in directory llvm/autoconf:

configure.ac updated: 1.188 -> 1.189
---
Log message:

Implement a test for the Graphviz program for Chris Lattner. The symbol
GRAPHVIZ will contain the path to the program if its found (or "echo Graphviz"
if not) and the #define HAVE_GRAPHVIZ will be defined if its found.


---
Diffs of the changes:  (+4 -0)

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.188 llvm/autoconf/configure.ac:1.189
--- llvm/autoconf/configure.ac:1.188	Tue Jul 12 10:51:55 2005
+++ llvm/autoconf/configure.ac	Tue Jul 12 22:20:14 2005
@@ -304,6 +304,10 @@
 AC_PATH_PROG(RM,   [rm],   [rm])
 AC_PATH_PROG(SED,  [sed],  [sed])
 AC_PATH_PROG(TAR,  [tar],  [gtar])
+AC_PATH_PROG(GRAPHVIZ, [Graphviz], [echo GraphViz])
+if test "$GRAPHVIZ" != "echo GraphViz" ; then
+  AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
+fi
 
 dnl Find the install program
 AC_PROG_INSTALL






More information about the llvm-commits mailing list