configure: print a message when docbook.xsl is missing localy
authorMatthieu Patou <mat@matws.net>
Sun, 5 May 2013 22:05:37 +0000 (15:05 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 May 2013 09:05:25 +0000 (21:05 +1200)
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_conftests.py

index 0274f665a68d8a8e38423908fe15ade1ff0c9b0e..ec98ba0d7eea550aa95aee37aa8d9f8283b1db43 100644 (file)
@@ -503,3 +503,6 @@ def CHECK_XSLTPROC_MANPAGES(conf):
                              msg='Checking for stylesheet %s' % s,
                              define='XSLTPROC_MANPAGES', on_target=False,
                              boolean=True)
+    if not conf.CONFIG_SET('XSLTPROC_MANPAGES'):
+        print "A local copy of the docbook.xsl wasn't found on your system" \
+              " consider installing package like docbook-xsl"