build: Call conf.CHECK_XSLTPROC_MANPAGES() directly in wscript
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Feb 2024 07:25:59 +0000 (20:25 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2024 02:41:36 +0000 (02:41 +0000)
This avoids relying on the indirect call via wscript in lib/{talloc,tdb,ldb}

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
wscript

diff --git a/wscript b/wscript
index 6b5d29bcfe5ebab11d95323cb6a64ae8b6b7f247..8c75bc9bbd6c9d410becf4aac88b882c7f1f8d31 100644 (file)
--- a/wscript
+++ b/wscript
@@ -179,7 +179,7 @@ def configure(conf):
     conf.RECURSE('examples/winexe')
 
     conf.SAMBA_CHECK_PERL(mandatory=True)
-    conf.find_program('xsltproc', var='XSLTPROC')
+    conf.CHECK_XSLTPROC_MANPAGES()
 
     if conf.env.disable_python:
         if not (Options.options.without_ad_dc):