[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Wed Jul 13 22:19:23 PDT 2005
Changes in directory llvm/autoconf:
configure.ac updated: 1.190 -> 1.191
---
Log message:
* 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.
---
Diffs of the changes: (+7 -1)
configure.ac | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.190 llvm/autoconf/configure.ac:1.191
--- llvm/autoconf/configure.ac:1.190 Wed Jul 13 21:25:12 2005
+++ llvm/autoconf/configure.ac Thu Jul 14 00:19:12 2005
@@ -307,9 +307,15 @@
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
More information about the llvm-commits
mailing list