Remove dead code now vuser can no longer be NULL.
[Samba.git] / docs-xml / configure.ac
blobfe889a2f33af5fd6c810ed8f835426d2a985da2b
1 AC_INIT(xslt/latex.xsl)
3 LATEX_DOCUMENTCLASS_OPTIONS="letterpaper,11pt,openright,twoside"
4 AC_ARG_ENABLE(prentice-hall,
5 [ --enable-prentice-hall     Produce Prentice-Hall compatible output],
6 [ test "$enableval" && LATEX_DOCUMENTCLASS_OPTIONS="letterpaper,10pt,openleft,twoside,ph" ])
7 AC_SUBST(LATEX_DOCUMENTCLASS_OPTIONS)
9 DOC_BUILD_DATE=`date '+%d-%m-%Y'`
10 AC_SUBST(DOC_BUILD_DATE)
12 DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL)
13 DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL)
14 DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, LATEX)
15 DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PS)
16 DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PDF)
17 DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, HTML)
18 DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, HTMLHELP)
19 DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PEARSON)
20 DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PLUCKER)
22 DOCS_TARGET_REQUIRE_PROGRAM(PNGTOPNM, pngtopnm, PS)
23 DOCS_TARGET_REQUIRE_PROGRAM(PNMTOPS, pnmtops, PS)
24 DOCS_TARGET_REQUIRE_PROGRAM(DBLATEX, dblatex, LATEX)
25 DOCS_TARGET_REQUIRE_PROGRAM(PLUCKERBUILD, plucker-build, PLUCKER)
26 DOCS_TARGET_REQUIRE_PROGRAM(HTML2TEXT, html2text, TXT)
27 DOCS_TARGET_REQUIRE_PROGRAM(PERL, perl, UNDOCUMENTED)
28 DOCS_TARGET_REQUIRE_PROGRAM(XMLLINT, xmllint, VALIDATE)
29 DOCS_TARGET_REQUIRE_PROGRAM(DB2TEXI, docbook2x-texi, TEXI)
30 DOCS_TARGET_REQUIRE_PROGRAM(MAKEINFO, makeinfo, TEXIINFO)
32 AC_MSG_RESULT([])
33 AC_MSG_RESULT([Summary:])
34 AC_MSG_RESULT([--------------])
36 DOCS_DEFINE_TARGET(ALL, [], [base requirements], [])
37 DOCS_DEFINE_TARGET(LATEX, ALL, [LaTeX versions], [tex ps pdf])
38 DOCS_DEFINE_TARGET(HTML, ALL, [HTML versions], [html])
39 DOCS_DEFINE_TARGET(HTMLHELP, ALL, [HTML Help versions], [htmlhelp])
40 DOCS_DEFINE_TARGET(HTMLMAN, ALL, [HTML versions of the manpages], [htmlman])
41 DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages])
42 DOCS_DEFINE_TARGET(PEARSON, ALL, [pearson-compatible XML], [pearson])
43 DOCS_DEFINE_TARGET(PLUCKER, HTML, [plucker versions], [plucker])
44 DOCS_DEFINE_TARGET(VALIDATE, ALL, [validating docbook output], [])
45 DOCS_DEFINE_TARGET(TEXI, ALL, [TexInfo versions], [texi])
46 DOCS_DEFINE_TARGET(TEXIINFO, ALL, [TexInfo Info versions], [texiinfo])
47 DOCS_DEFINE_TARGET(UNDOCUMENTED, MANPAGES, [list of undocumented options], [undocumented])
48 DOCS_DEFINE_TARGET(TXT, HTML, [text versions], [txt])
50 if test x"$TARGETS" = x; then 
51         AC_MSG_ERROR([You won't be able to build any of the docs])
52 else 
53         AC_MSG_RESULT([You will be able to build: $TARGETS])
56 AC_SUBST(TARGETS)
58 AC_OUTPUT( Makefile.settings build/catalog.xml)