1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
From c6f70f8ca126b34a218248109b78a540d3a4989a Mon Sep 17 00:00:00 2001
From: Simon Stridsberg <simon@devsn.se>
Date: Tue, 12 Jan 2021 15:34:33 +0000
Subject: [PATCH] Fix autoconf error in version 2.70
Fixes #3491
---
configure.ac | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index e44b61fffe..3763b3f34d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,9 @@ AC_PROG_INSTALL
AC_ARG_WITH([rst2man],
AS_HELP_STRING([--with-rst2man=PATH], [Location of rst2man (auto)]),
[RST2MAN="$withval"],
- AC_CHECK_PROGS(RST2MAN,
+ [AC_CHECK_PROGS(RST2MAN,
[rst2man-3.6 rst2man-3 rst2man rst2man.py],
- [no]))
+ [no])])
if test "x$RST2MAN" = "xno"; then
AC_MSG_ERROR(
[rst2man is needed to build Varnish, please install python3-docutils.])
@@ -51,9 +51,9 @@ fi
AC_ARG_WITH([sphinx-build],
AS_HELP_STRING([--with-sphinx-build=PATH], [Location of sphinx-build (auto)]),
[SPHINX="$withval"],
- AC_CHECK_PROGS(SPHINX,
+ [AC_CHECK_PROGS(SPHINX,
[sphinx-build-3.6 sphinx-build-3 sphinx-build],
- [no]))
+ [no])])
if test "x$SPHINX" = "xno"; then
AC_MSG_ERROR(
[sphinx-build is needed to build Varnish, please install python3-sphinx.])
@@ -62,9 +62,9 @@ fi
AC_ARG_WITH([rst2html],
AS_HELP_STRING([--with-rst2html=PATH], [Location of rst2html (auto)]),
[RST2HTML="$withval"],
- AC_CHECK_PROGS(RST2HTML,
+ [AC_CHECK_PROGS(RST2HTML,
[rst2html-3.6 rst2html-3 rst2html rst2html.py],
- "no"))
+ "no")])
if test "x$RST2HTML" = "xno"; then
AC_MSG_ERROR(
|