diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-08-12 17:36:25 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-08-12 17:36:25 +0000 |
commit | a2e3ba6e1281a7d3693173679ec7fb28898df319 (patch) | |
tree | ccf9305e453bb08eb01813b4ea4e314f8f869e6a /docs/docbook/configure.in | |
parent | 3b8485d047492788925b530e9e622a61c66f2dbd (diff) | |
download | samba-a2e3ba6e1281a7d3693173679ec7fb28898df319.tar.gz samba-a2e3ba6e1281a7d3693173679ec7fb28898df319.tar.bz2 samba-a2e3ba6e1281a7d3693173679ec7fb28898df319.zip |
Merge over book changes into 3_0 CVS
(This used to be commit d8fe4a81fb0d4972b2331b3d5fc4890244b44c33)
Diffstat (limited to 'docs/docbook/configure.in')
-rw-r--r-- | docs/docbook/configure.in | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/docs/docbook/configure.in b/docs/docbook/configure.in index 25abecafe1..05747b0596 100644 --- a/docs/docbook/configure.in +++ b/docs/docbook/configure.in @@ -8,8 +8,33 @@ AC_PATH_PROG(PDFLATEX, pdflatex) if test "x$PDFLATEX" = x; then AC_MSG_ERROR("pdflatex is required") fi +AC_PATH_PROG(MAKEINDEX, makeindex) +if test "x$MAKEINDEX" = x; then + AC_MSG_ERROR("makeindex is required") +fi + +PAPERSIZE="" +TEXSTYLESHEET=xslt/latex.xsl +DUPLICATE_ULINKS="" + +CROP="--stringparam docrop 0" + +AC_ARG_ENABLE(crop, +[ --enable-crop Whether to use a crop template], +[ test "$withval" && CROP="--stringparam docrop 1" ]) + +PAPERSIZE="--stringparam papersize a4paper" + +AC_ARG_WITH(papersize, +[ --with-papersize Specify papersize (a4paper,letter) ], +[ test "$withval" && PAPERSIZE="--stringparam papersize $withval" ]) + +FONTSIZE="--stringparam fontsize 10.5" + +AC_ARG_WITH(fontsize, +[ --with-fontsize Specify the fontsize in points (default: 10.5) ], +[ test "$withval" && FONTSIZE="--stringparam fontsize $withval" ]) -AC_PATH_PROG(XMLTO, xmlto) AC_PATH_PROG(LATEX, latex) AC_PATH_PROG(DVIPS, dvips) AC_PATH_PROG(PNGTOPNM, pngtopnm) @@ -17,5 +42,10 @@ AC_PATH_PROG(PNMTOPS, pnmtops) DOC_BUILD_DATE=`date '+%d-%m-%Y'` AC_SUBST(DOC_BUILD_DATE) +AC_SUBST(TEXSTYLESHEET) +AC_SUBST(PAPERSIZE) +AC_SUBST(DUPLICATE_ULINKS) +AC_SUBST(FONTSIZE) +AC_SUBST(CROP) AC_OUTPUT( Makefile ) |