diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
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], | |||
699 | AC_MSG_RESULT($section7) | 699 | AC_MSG_RESULT($section7) |
700 | if test "x$section7" = "xyes" | 700 | if test "x$section7" = "xyes" |
701 | then | 701 | then |
702 | if test "$texi2mdoc" = 0 | ||
703 | then | ||
704 | AC_MSG_WARN([ERROR: mdoc output currently requires texi2mdoc.]) | ||
705 | AC_MSG_WARN([ERROR: texi2mdoc can be obtained via your Operating System]) | ||
706 | AC_MSG_WARN([ERROR: package manager or from https://mandoc.bsd.lv/texi2mdoc/]) | ||
707 | else | ||
702 | AM_CONDITIONAL([SECTION7],true) | 708 | AM_CONDITIONAL([SECTION7],true) |
703 | AC_DEFINE([SECTION7],[1],[Building section 7 mdoc output]) | 709 | AC_DEFINE([SECTION7],[1],[Building section 7 mdoc output]) |
710 | fi | ||
704 | else | 711 | else |
705 | AM_CONDITIONAL([SECTION7],false) | 712 | AM_CONDITIONAL([SECTION7],false) |
706 | AC_DEFINE([SECTION7],[0],[Not building section 7 mdoc output]) | 713 | AC_DEFINE([SECTION7],[0],[Not building section 7 mdoc output]) |