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

Reid Spencer reid at x10sys.com
Fri Jun 2 16:13:31 PDT 2006



Changes in directory llvm/autoconf:

configure.ac updated: 1.231 -> 1.232
---
Log message:

For PR798: http://llvm.cs.uiuc.edu/PR798 :
Have configure find the "dotty" program and adjust configuration.


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

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


Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.231 llvm/autoconf/configure.ac:1.232
--- llvm/autoconf/configure.ac:1.231	Thu Jun  1 14:03:21 2006
+++ llvm/autoconf/configure.ac	Fri Jun  2 18:13:18 2006
@@ -352,6 +352,8 @@
 AC_PATH_PROG(RM,   [rm],   [rm])
 AC_PATH_PROG(SED,  [sed],  [sed])
 AC_PATH_PROG(TAR,  [tar],  [gtar])
+
+dnl Looking for misc. graph plotting software
 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])
@@ -364,6 +366,12 @@
   AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV",
    [Define to path to gv program if found or 'echo gv' otherwise])
 fi
+AC_PATH_PROG(DOTTY, [dotty], [echo dotty])
+if test "$DOTTY" != "echo dotty" ; then
+  AC_DEFINE([HAVE_DOTTY],[1],[Define if the dotty program is available])
+  AC_DEFINE_UNQUOTED([LLVM_PATH_DOTTY],"$DOTTY",
+   [Define to path to dotty program if found or 'echo dotty' otherwise])
+fi
 
 dnl Look for a sufficiently recent version of Perl.
 LLVM_PROG_PERL([5.006])






More information about the llvm-commits mailing list