diff options
author | Ian Lynagh <igloo@earth.li> | 2009-05-08 00:06:03 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-05-08 00:06:03 +0000 |
commit | 1cce2f51656cfbd8c7933a914a4bd981792aa1e6 (patch) | |
tree | 0ff9578722dc8ce0a54bfc1c304cb18c4576c777 /aclocal.m4 | |
parent | 78d34718d999143141b20ae5f23595efb86bd166 (diff) | |
download | haskell-1cce2f51656cfbd8c7933a914a4bd981792aa1e6.tar.gz |
Handle deciding what docs to build better
Now we have variables for whether or not to build the docbook docs as
HTML, as PS, and as PDF. The configure script output now matches what
the build system will do (except it cannot take account of any
mk/build.mk settings, of course).
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 14e6e2156a..9984eaef0e 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -768,6 +768,19 @@ EOF ]) # FP_GEN_DOCBOOK_XML +# FP_PROG_DBLATEX +# ---------------- +# Sets the output variable DblatexCmd to the full path of dblatex, +# which we use for building PDF and PS docs. +# DblatexCmd is empty if dblatex could not be found. +AC_DEFUN([FP_PROG_DBLATEX], +[AC_PATH_PROG([DblatexCmd], [dblatex]) +if test -z "$DblatexCmd"; then + AC_MSG_WARN([cannot find dblatex in your PATH, you will not be able to build the PDF and PS documentation]) +fi +])# FP_PROG_DBLATEX + + # FP_PROG_XSLTPROC # ---------------- # Sets the output variable XsltprocCmd to the full path of the XSLT processor @@ -775,7 +788,7 @@ EOF AC_DEFUN([FP_PROG_XSLTPROC], [AC_PATH_PROG([XsltprocCmd], [xsltproc]) if test -z "$XsltprocCmd"; then - AC_MSG_WARN([cannot find xsltproc in your PATH, you will not be able to build the documentation]) + AC_MSG_WARN([cannot find xsltproc in your PATH, you will not be able to build the HTML documentation]) fi ])# FP_PROG_XSLTPROC |