[librsvg: 3/7] Check for rst2man in configure.ac




commit 5941b7001887d9b02c06925248b8236ed738eb4b
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Jan 4 13:30:33 2022 -0600

    Check for rst2man in configure.ac
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/648>

 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index bb90ad9b2..3c6178d42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,6 +112,13 @@ AX_COMPARE_VERSION([$rust_version],[lt],[$MINIMUM_RUST_VER], [
     AC_MSG_ERROR([librsvg needs at least rustc version $MINIMUM_RUST_VER])
 ])
 
+dnl Man page generator
+
+AC_CHECK_TOOL(RST2MAN, [rst2man], [no])
+AS_IF(test x$RST2MAN = xno,
+    AC_MSG_ERROR([rst2man is required.  Please install python3-docutils.])
+)
+
 dnl ===========================================================================
 
 #AC_CANONICAL_HOST


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]