aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 661fc1d350..d19aea29ef 100644
--- a/autoconf/configure.ac
+++ b/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])