summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-07-14 05:19:12 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-07-14 05:19:12 +0000
commitbe13028264888b01ac6fcd46667cf31a7e84e9cf (patch)
tree3ad0fa0cab8ff7b3c838edbcf9d8dd69b91a0298 /autoconf
parente388b5ea2c599a1db72497bf2d2920895da28f47 (diff)
downloadllvm-be13028264888b01ac6fcd46667cf31a7e84e9cf.tar.gz
llvm-be13028264888b01ac6fcd46667cf31a7e84e9cf.tar.bz2
llvm-be13028264888b01ac6fcd46667cf31a7e84e9cf.tar.xz
* Correct the AC_DEFINE for LLVM_PATH_GRAPHVIZ to use AC_DEFINE_UNQUOTED so
we actually get the path and not $GRAPHVIZ as the value. * Add a #define for the gv program (HAVE_GV) and its value LLVM_PATH_GV. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index be1f1ddf13..153ddfe439 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -307,9 +307,15 @@ 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])
- AC_DEFINE([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ",
+ AC_DEFINE_UNQUOTED([LLVM_PATH_GRAPHVIZ],"$GRAPHVIZ",
[Define to path to Graphviz program if found or 'echo Graphviz' otherwise])
fi
+AC_PATH_PROG(GV, [gv], [echo gv])
+if test "$GRAPHVIZ" != "echo gv" ; then
+ AC_DEFINE([HAVE_GV],[1],[Define if the gv program is available])
+ AC_DEFINE_UNQUOTED([LLVM_PATH_GV],"$GV",
+ [Define to path to gv program if found or 'echo gv' otherwise])
+fi
dnl Find the install program
AC_PROG_INSTALL