diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-16 15:51:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-16 15:51:04 +0000 |
commit | 805e477c290637b9736e144f3dbd262757506090 (patch) | |
tree | 80a7b1a64eb2a7d004d0bb3e1e4513c20a48e3f1 /Build/source/utils/chktex | |
parent | fe827a9763e7de758a5b00e36c8ae99d9805237d (diff) |
new Autoconf macros KPSE_CHECK_{LATEX,PDFLATEX,PERL}
git-svn-id: svn://tug.org/texlive/trunk@21732 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/chktex')
-rw-r--r-- | Build/source/utils/chktex/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/utils/chktex/Makefile.in | 3 | ||||
-rw-r--r-- | Build/source/utils/chktex/aclocal.m4 | 1 | ||||
-rwxr-xr-x | Build/source/utils/chktex/configure | 6 | ||||
-rw-r--r-- | Build/source/utils/chktex/configure.ac | 2 |
5 files changed, 12 insertions, 4 deletions
diff --git a/Build/source/utils/chktex/ChangeLog b/Build/source/utils/chktex/ChangeLog index f98cc75010c..1021135049e 100644 --- a/Build/source/utils/chktex/ChangeLog +++ b/Build/source/utils/chktex/ChangeLog @@ -1,3 +1,7 @@ +2011-03-16 Peter Breitenlohner <peb@mppmu.mpg.de> + + * configure.ac: Use KPSE_CHECK_PDFLATEX Autoconf macro. + 2011-01-09 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am, configure.ac: Install linked perl script. diff --git a/Build/source/utils/chktex/Makefile.in b/Build/source/utils/chktex/Makefile.in index db1a7e81a61..10e36da1979 100644 --- a/Build/source/utils/chktex/Makefile.in +++ b/Build/source/utils/chktex/Makefile.in @@ -48,7 +48,8 @@ DIST_COMMON = $(am__configure_deps) $(dist_pdfdoc_DATA) \ ../../build-aux/ltmain.sh ../../build-aux/missing \ ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-warnings.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-progs.m4 \ + $(top_srcdir)/../../m4/kpse-warnings.m4 \ $(top_srcdir)/../../m4/kpse-win32.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ diff --git a/Build/source/utils/chktex/aclocal.m4 b/Build/source/utils/chktex/aclocal.m4 index fec8c1cedf3..dbd581e6b40 100644 --- a/Build/source/utils/chktex/aclocal.m4 +++ b/Build/source/utils/chktex/aclocal.m4 @@ -989,5 +989,6 @@ AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR +m4_include([../../m4/kpse-progs.m4]) m4_include([../../m4/kpse-warnings.m4]) m4_include([../../m4/kpse-win32.m4]) diff --git a/Build/source/utils/chktex/configure b/Build/source/utils/chktex/configure index dc403357e09..70ddba111b2 100755 --- a/Build/source/utils/chktex/configure +++ b/Build/source/utils/chktex/configure @@ -714,8 +714,8 @@ CFLAGS LDFLAGS LIBS CPPFLAGS -CPP -CPPFLAGS' +PDFLATEX +CPP' # Initialize some variables set by options. @@ -1349,6 +1349,7 @@ Some influential environment variables: LIBS libraries to pass to the linker, e.g. -l<library> CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> + PDFLATEX pdfLaTeX command CPP C preprocessor Use these variables to override the choices made by `configure' or to help @@ -3813,6 +3814,7 @@ $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi + for ac_prog in pdflatex do # Extract the first word of "$ac_prog", so it can be a program name with args. diff --git a/Build/source/utils/chktex/configure.ac b/Build/source/utils/chktex/configure.ac index 9503bc2b0fe..64622564d40 100644 --- a/Build/source/utils/chktex/configure.ac +++ b/Build/source/utils/chktex/configure.ac @@ -31,7 +31,7 @@ dnl Checks for programs. AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET -AC_CHECK_PROGS([PDFLATEX], [pdflatex], [no]) +KPSE_CHECK_PDFLATEX dnl No termlib/termcap/ncurses library for TeX Live |