summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index 661fc1d3501..d19aea29eff 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -323,7 +323,7 @@ if test "$GRAPHVIZ" != "echo Graphviz" ; then
[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
+if test "$GV" != "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])
OpenPOWER on IntegriCloud