diff options
Diffstat (limited to 'configure.ac.pamphlet')
-rw-r--r-- | configure.ac.pamphlet | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet index a7aa67f1..1f6e5a8e 100644 --- a/configure.ac.pamphlet +++ b/configure.ac.pamphlet @@ -737,9 +737,11 @@ files in a directory named \File{noweb/} at the top level. Normally, this works right when one follows the installation instructions. % <<doc utils>>= -AC_PATH_PROG([PDFLATEX], [pdflatex], - [AC_PATH_PROG([LATEX], [latex], - [AC_MSG_NOTICE([Documentation is disabled.])])]) +AC_PATH_PROG([PDFLATEX], [pdflatex]) +if test -z $PDFLATEX; then + AC_PATH_PROG([LATEX], [latex], + [AC_MSG_NOTICE([Documentation is disabled.])]) +fi AC_CHECK_PROGS([MAKEINDEX], [makeindex]) |