tlbuild: Macros for programs

 
 6.3.2 Macros for programs
 -------------------------
 
 Macros for program checks:
 
  -- Macro: KPSE_CHECK_LATEX
      Set 'LATEX' to the first of 'latex', 'elatex', or 'lambda' which
      exists in 'PATH', or to 'no' if none of them exists.  Call
      'AC_SUBST' for 'LATEX'.  The result of this test can be overridden
      by setting the 'LATEX' environment variable or the cache variable
      'ac_cv_prog_LATEX'.
 
  -- Macro: KPSE_CHECK_PDFLATEX
      Check for 'pdflatex' in 'PATH' and set 'PDFLATEX'.
 
  -- Macro: KPSE_CHECK_PERL
      Check for 'perl' or 'perl5' in 'PATH' and set 'PERL'.
 
  -- Macro: KPSE_PROG_LEX
      Call 'AC_PROG_LEX' and add the flag '-l' for 'flex'.