From 84044a87d209eac9f9f1360e66cb19505460f475 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 6 Apr 2021 20:53:09 +0300 Subject: [PATCH] build: don't error out with missing makeinfo Seemingly, we get a build error in some cases with a missing makeinfo... let's try to avoid that. This should help with issue: #1964. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3349096e..1e0231c4 100644 --- a/configure.ac +++ b/configure.ac @@ -79,9 +79,13 @@ AS_IF([test "x$use_asan" = "xyes"],[ # check for makeinfo AC_CHECK_PROG(have_makeinfo,makeinfo,yes,no) AM_CONDITIONAL(HAVE_MAKEINFO,test "x$have_makeinfo" = "xyes") +AM_COND_IF(HAVE_MAKEINFO,[],[ + # seems build *insists* on trying to makeinfo, erroring out + # if it does not exist. Let's work around that. + AC_SUBST(MAKEINFO,[true]) +]) # we need emacs for byte-compiling mu4e - build_mu4e=no AC_ARG_ENABLE([mu4e], AS_HELP_STRING([--disable-mu4e],[Disable building mu4e]))