[Fontconfig] fontconfig: Branch 'main'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 12 04:04:03 UTC 2022


 configure.ac |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit aa681148a754384f851ab020b3f6a22def82737c
Author: Sam James <sam at gentoo.org>
Date:   Sat Apr 2 02:36:24 2022 +0100

    configure.ac: allow disabling docbook
    
    Sometimes we might want to build docs (install man pages, etc)
    but allow disabling use of docbook.
    
    Bug: https://bugs.gentoo.org/310157
    Signed-off-by: Sam James <sam at gentoo.org>

diff --git a/configure.ac b/configure.ac
index da69f8d..2992138 100644
--- a/configure.ac
+++ b/configure.ac
@@ -736,7 +736,13 @@ dnl ===========================================================================
 # Let people not build/install docs if they don't have docbook
 #
 
-AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no)
+AC_ARG_ENABLE(docbook,
+	[AS_HELP_STRING([--disable-docbook],
+		[Disable building docs with docbook2html (default: no)])],,)
+
+if test x$enable_docbook != xno; then
+	AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no)
+fi
 
 AM_CONDITIONAL(USEDOCBOOK, test "x$HASDOCBOOK" = xyes)
 


More information about the Fontconfig mailing list