From be13028264888b01ac6fcd46667cf31a7e84e9cf Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 14 Jul 2005 05:19:12 +0000 Subject: * 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 --- autoconf/configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'autoconf') 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 -- cgit v1.2.3