[master] 6d71c1f set RST2MAN=no if no rst2man found to make it a hard dependency for real

Nils Goroll nils.goroll at uplex.de
Mon May 5 12:51:18 CEST 2014


commit 6d71c1f96e6ab2fe682cc5c7779b56d6e9f0b1da
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon May 5 12:50:24 2014 +0200

    set RST2MAN=no if no rst2man found to make it a hard dependency for real

diff --git a/configure.ac b/configure.ac
index 82bd906..36cc542 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,8 +54,8 @@ AC_PROG_MAKE_SET
 AC_ARG_WITH([rst2man],
   AS_HELP_STRING([--with-rst2man=PATH], [Location of rst2man (auto)]),
   [RST2MAN="$withval"],
-  AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], []))
-if test "$RST2MAN" = "no"; then
+  AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], [no]))
+if test "x$RST2MAN" = "xno"; then
   AC_MSG_ERROR(
     [rst2man is needed to build Varnish, please install python-docutils.])
 fi



More information about the varnish-commit mailing list