From 9eb4a11b35b05eb50266e73742176b6bfbfb4d20 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 7 Apr 2020 18:35:17 +0200 Subject: [PATCH] build system: run xsltproc with higher maximum recursion depth On macOS the default `xsltproc` installation has the same limit (3000) as on Linux, but for some reason it exceeds that limit on macOS. Bumping it to 10000 lets builds succeed on macOS, too. Fixes #2754. --- ac/ax_docbook.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ac/ax_docbook.m4 b/ac/ax_docbook.m4 index 8061d9234..038dec6db 100644 --- a/ac/ax_docbook.m4 +++ b/ac/ax_docbook.m4 @@ -31,7 +31,7 @@ else fi # It's just rude to go over the net to build -XSLTPROC_FLAGS=--nonet +XSLTPROC_FLAGS="--nonet --maxdepth 10000" AC_ARG_WITH(xsltproc, AC_HELP_STRING([--with-xsltproc=prog],[use prog instead of looking for xsltproc]), @@ -52,7 +52,7 @@ AC_CACHE_CHECK([whether xsltproc works], [ac_cv_xsltproc_works], [ ac_cv_xsltproc_works=no - "$XSLTPROC" "$XSLTPROC_FLAGS" "$DOCBOOK_ROOT/manpages/docbook.xsl" >/dev/null 2>/dev/null << END + "$XSLTPROC" $XSLTPROC_FLAGS "$DOCBOOK_ROOT/manpages/docbook.xsl" >/dev/null 2>/dev/null << END