From f667a82fc10a0e006c4aa634e4ffbffe1f9c537d Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 6 Mar 2017 12:19:28 +0000 Subject: [PATCH] build: Fix disabling --enable-man if xsltproc is not available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If --enable-man=maybe (the default), and xsltproc is not available, the configuration code would check for it, correctly set enable_man=no, then incorrectly overwrite that with enable_man=yes, which would result in later trying to execute $(XSLTPROC) when it’s empty. Signed-off-by: Philip Withnall Closes: #720 Approved by: cgwalters --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 48d8949c..83b8f48f 100644 --- a/configure.ac +++ b/configure.ac @@ -184,8 +184,9 @@ AS_IF([test "$enable_man" != no], [ AC_MSG_ERROR([xsltproc is required for --enable-man]) ]) enable_man=no + ],[ + enable_man=yes ]) - enable_man=yes ]) AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)