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

Reid Spencer reid at x10sys.com
Wed Jul 13 19:25:24 PDT 2005



Changes in directory llvm/autoconf:

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

Put the path to the Graphviz program in the #defines so it can be used.


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

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.189 llvm/autoconf/configure.ac:1.190
--- llvm/autoconf/configure.ac:1.189	Tue Jul 12 22:20:14 2005
+++ llvm/autoconf/configure.ac	Wed Jul 13 21:25:12 2005
@@ -304,9 +304,11 @@
 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_PATH_PROG(GRAPHVIZ, [Graphviz], [echo Graphviz])
+if test "$GRAPHVIZ" != "echo Graphviz" ; then
   AC_DEFINE([HAVE_GRAPHVIZ],[1],[Define if the Graphviz program is available])
+  AC_DEFINE([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ",
+   [Define to path to Graphviz program if found or 'echo Graphviz' otherwise])
 fi
 
 dnl Find the install program






More information about the llvm-commits mailing list