[master] be2db39 look for the dot tool from the graphviz package and ps2pdf

Nils Goroll nils.goroll at uplex.de
Tue Oct 7 15:09:31 CEST 2014


commit be2db3941788fb690af01d9342167620a46359b0
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Oct 6 17:08:11 2014 +0200

    look for the dot tool from the graphviz package and ps2pdf

diff --git a/configure.ac b/configure.ac
index d4f5c5b..7195207 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,28 @@ AC_ARG_WITH([rst2html],
 		fi])
 AM_CONDITIONAL(HAVE_RST2HTML,[test "x$RST2HTML" != "xno"])
 
+AC_ARG_WITH([dot],
+  AS_HELP_STRING([--with-dot=PATH],
+		 [Location of the dot tool from graphviz (auto)]),
+  [DOT="$withval"],
+  [AC_CHECK_PROGS(DOT, [dot], [no])
+   if test "x$DOT" = "xno"; then
+     AC_MSG_WARN(
+       [dot not found - can't generate graphviz output for documentation.])
+   fi])
+AM_CONDITIONAL(HAVE_DOT,[test "x$DOT" != "xno"])
+
+AC_ARG_WITH([ps2pdf],
+  AS_HELP_STRING([--with-ps2pdf=PATH],
+		 [Location of the ps2pdf tool from ghostscript (auto)]),
+  [PS2PDF="$withval"],
+  [AC_CHECK_PROGS(PS2PDF, [ps2pdf], [no])
+   if test "x$PS2PDF" = "xno"; then
+     AC_MSG_WARN(
+       [ps2pdf not found - can't generate graphviz output for documentation.])
+   fi])
+AM_CONDITIONAL(HAVE_PS2PDF,[test "x$PS2PDF" != "xno"])
+
 # Checks for libraries.
 save_LIBS="${LIBS}"
 LIBS=""



More information about the varnish-commit mailing list