From: Philip Withnall Date: Mon, 6 Mar 2017 12:19:28 +0000 (+0000) Subject: build: Fix disabling --enable-man if xsltproc is not available X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~40^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f667a82fc10a0e006c4aa634e4ffbffe1f9c537d;p=ostree.git build: Fix disabling --enable-man if xsltproc is not available 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 --- 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)