s4-ldb: use CHECK_XSLTPROC_MANPAGES()
authorAndrew Tridgell <tridge@samba.org>
Thu, 24 Jun 2010 06:03:02 +0000 (16:03 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 24 Jun 2010 08:46:57 +0000 (18:46 +1000)
lib/tdb/wscript
source4/lib/ldb/wscript

index a1776e5c067abd909f403d8a237146cc0ec9360f..a7afa98750ab0d19a8f5f6e3b98e44ff91417d80 100644 (file)
@@ -39,8 +39,7 @@ def configure(conf):
 
     conf.env.disable_python = getattr(Options.options, 'disable_python', False)
 
-    if conf.env.standalone_tdb:
-        conf.find_program('xsltproc', var='XSLTPROC')
+    conf.CHECK_XSLTPROC_MANPAGES()
 
     if not conf.env.disable_python:
         # also disable if we don't have the python libs installed
index 588b6feaef6486631c777c704fb563a32f96bf49..9de9a5b47eb041ae22866e5d29d64ebb1a26bcaa 100644 (file)
@@ -46,7 +46,7 @@ def configure(conf):
             conf.define('USING_SYSTEM_LDB', 1)
 
     if conf.env.standalone_ldb:
-        conf.find_program('xsltproc', var='XSLTPROC')
+        conf.CHECK_XSLTPROC_MANPAGES()
 
         # we need this for the ldap backend
         if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):