summaryrefslogtreecommitdiff
path: root/docs/docbook/configure.in
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-09 02:58:53 +0000
committerGerald Carter <jerry@samba.org>2003-09-09 02:58:53 +0000
commit99bde6889d3d8b7a9e950c86c30e82662e1dacdd (patch)
treebb7d34722e3b2b98ae7e36c11f4e7e4d4538b6fb /docs/docbook/configure.in
parenta50367ee119d0acf1bcaaf93f8c6fcc8fa68c999 (diff)
downloadsamba-99bde6889d3d8b7a9e950c86c30e82662e1dacdd.tar.gz
samba-99bde6889d3d8b7a9e950c86c30e82662e1dacdd.tar.bz2
samba-99bde6889d3d8b7a9e950c86c30e82662e1dacdd.zip
syncing files from 3.0 into HEAD again
(This used to be commit bca0bba209255d0effbae6a3d3b6d298f0952c3a)
Diffstat (limited to 'docs/docbook/configure.in')
-rw-r--r--docs/docbook/configure.in34
1 files changed, 33 insertions, 1 deletions
diff --git a/docs/docbook/configure.in b/docs/docbook/configure.in
index 25abecafe1..9df4795022 100644
--- a/docs/docbook/configure.in
+++ b/docs/docbook/configure.in
@@ -8,14 +8,46 @@ 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)
AC_PATH_PROG(PNMTOPS, pnmtops)
+AC_PATH_PROG(PERL, perl)
+AC_PATH_PROG(XMLTO, xmlto)
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 )