summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/chktex/configure.ac')
-rw-r--r--Build/source/texk/chktex/configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/texk/chktex/configure.ac b/Build/source/texk/chktex/configure.ac
index 8fa66c32f8b..8a8d0cea56c 100644
--- a/Build/source/texk/chktex/configure.ac
+++ b/Build/source/texk/chktex/configure.ac
@@ -22,7 +22,10 @@ AC_CONFIG_MACRO_DIR([../../m4])
dnl Common code for all programs using libkpathsea.
KPSE_COMMON([chktex])
-dnl No termlib/termcap/ncurses library for TeX Live
+dnl Need latex, dvips, and ps2pdf to build ChkTeX.pdf
+KPSE_CHECK_LATEX
+AC_CHECK_PROGS([DVIPS], [dvips], [no])
+AC_CHECK_PROGS([PS2PDF], [ps2pdf], [no])
dnl Checks for header files.
AC_CHECK_HEADERS([stat.h stdarg.h sys/stat.h])
@@ -49,7 +52,7 @@ AC_SUBST([PERL5], ['/usr/bin/env perl'])
KPSE_KPATHSEA_FLAGS
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile ChkTeX.t:chktex-]chktex_version[/ChkTeX.tex.in])
AC_CONFIG_FILES([deweb.pl:chktex-]chktex_version[/deweb.in], [chmod +x deweb.pl])
AC_OUTPUT