-if test $OPT_ENABLE_DOC = 1; then
- AC_CHECK_PROG(LYX, lyx, lyx, :)
- AC_CHECK_PROG(LATEX2HTML, latex2html, latex2html, :)
- AC_CHECK_PROG(PDFLATEX, pdflatex, pdflatex, :)
- AC_CHECK_PROG(PDFOPT, pdfopt, pdfopt, :)
- AC_CHECK_PROG(MAKEINDEX, makeindex, makeindex, :)
+AC_CHECK_PROG([LYX], [lyx], [lyx], [:])
+AC_CHECK_PROG([LATEX2HTML], [latex2html], [latex2html], [:])
+AC_CHECK_PROG([PDFLATEX], [pdflatex], [pdflatex], [:])
+AC_CHECK_PROG([PDFOPT], [pdfopt], [pdfopt], [:])
+AC_CHECK_PROG([MAKEINDEX], [makeindex], [makeindex], [:])