diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-02 23:13:18 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-02 23:13:18 +0000 |
commit | ecbd242833cadb8b22006143d5ee4c1152bc81e3 (patch) | |
tree | febb95abb809ef0a577902de37a3dc29fef8ffee /autoconf | |
parent | 22033b2a4e0330b24fd601ef36e36bb1e544bf9d (diff) |
For PR798:
Have configure find the "dotty" program and adjust configuration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 2c2f2ce78e..0225a3d9d6 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -352,6 +352,8 @@ AC_PROG_RANLIB 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 @@ if test "$GV" != "echo gv" ; then 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]) |