diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-04-07 10:15:11 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:43 -0500 |
commit | 992f1e6b8f86b346fddd266b04d29cde69585633 (patch) | |
tree | 878573999a6831aa14cd6b8072263eb5d5910aa4 /docs/configure.in | |
parent | 65c0fd59203a3d9c4cb685e3a739f29f6f0c4fd6 (diff) | |
download | samba-992f1e6b8f86b346fddd266b04d29cde69585633.tar.gz samba-992f1e6b8f86b346fddd266b04d29cde69585633.tar.bz2 samba-992f1e6b8f86b346fddd266b04d29cde69585633.zip |
Add all the source files from the old CVS tree,
add the 5 missing chapters from the HOWTO
and add jht's Samba by Example book.
(This used to be commit 9fb5bcb93e57c5162b3ee6f9c7d777dc0269d100)
Diffstat (limited to 'docs/configure.in')
-rw-r--r-- | docs/configure.in | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/docs/configure.in b/docs/configure.in new file mode 100644 index 0000000000..5c21f08a83 --- /dev/null +++ b/docs/configure.in @@ -0,0 +1,56 @@ +AC_INIT(global.ent) + +AC_PATH_PROG(XSLTPROC, xsltproc) +if test "x$XSLTPROC" = x; then + AC_MSG_ERROR("xsltproc is required") +fi +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="" +DUPLICATE_ULINKS="" + +DOCROP="0" + +AC_ARG_ENABLE(crop, +[ --enable-crop Whether to use a crop template], +[ test "$withval" && DOCROP="1" ]) + +PAPERSIZE="a4paper" + +AC_ARG_WITH(papersize, +[ --with-papersize Specify papersize (a4paper,letter) ], +[ test "$withval" && PAPERSIZE="$withval" ]) + +FONTSIZE="10.5" + +AC_ARG_WITH(fontsize, +[ --with-fontsize Specify the fontsize in points (default: 10.5) ], +[ test "$withval" && FONTSIZE="$withval" ]) + +AC_PATH_PROG(RM, rm) +AC_PATH_PROG(WGET, wget) +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) +AC_PATH_PROG(CVS2CL, cvs2cl) +AC_PATH_PROG(PLUCKERBUILD, plucker-build, [echo -e 'No plucker-build utility was found, ignoring following options:\n']) +AC_PATH_PROG(EPSTOPDF, epstopdf) + +DOC_BUILD_DATE=`date '+%d-%m-%Y'` +AC_SUBST(DOC_BUILD_DATE) +AC_SUBST(PAPERSIZE) +AC_SUBST(DUPLICATE_ULINKS) +AC_SUBST(FONTSIZE) +AC_SUBST(DOCROP) + +AC_OUTPUT( Makefile settings.xsl ) |