From: Nils Gillmann Date: Sun, 21 Oct 2018 14:33:57 +0000 (+0000) Subject: If texi2mdoc is not found, throw a warning when --enable-section7 is true X-Git-Tag: v0.11.0~238^2~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e0785bb1b2af91a38d161bda7a4075338579441a;p=oweals%2Fgnunet.git If texi2mdoc is not found, throw a warning when --enable-section7 is true Signed-off-by: Nils Gillmann --- diff --git a/configure.ac b/configure.ac index 25ff26aa0..e9e540419 100644 --- a/configure.ac +++ b/configure.ac @@ -699,8 +699,15 @@ AC_ARG_ENABLE([section7], AC_MSG_RESULT($section7) if test "x$section7" = "xyes" then + if test "$texi2mdoc" = 0 + then + AC_MSG_WARN([ERROR: mdoc output currently requires texi2mdoc.]) + AC_MSG_WARN([ERROR: texi2mdoc can be obtained via your Operating System]) + AC_MSG_WARN([ERROR: package manager or from https://mandoc.bsd.lv/texi2mdoc/]) + else AM_CONDITIONAL([SECTION7],true) AC_DEFINE([SECTION7],[1],[Building section 7 mdoc output]) + fi else AM_CONDITIONAL([SECTION7],false) AC_DEFINE([SECTION7],[0],[Not building section 7 mdoc output])