From: Masamichi Hosoda Date: Mon, 29 Feb 2016 12:22:03 +0000 (+0900) Subject: Issue 4782: Fix XeTeX checking in configure script X-Git-Tag: release/2.19.38-1~6^2~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=60b2569a9cb078c449a8da340e5e7a61eecfbf9d;p=lilypond.git Issue 4782: Fix XeTeX checking in configure script Due to the design of TeX Live packaging, even if XeTeX executable binary exists, its required files may not exist. They are in same package with XeLaTeX executable file. This commit adds the condition of XeLaTeX checking for using XeTeX. --- diff --git a/configure.ac b/configure.ac index f5ec4c25ab..a34bbc580e 100644 --- a/configure.ac +++ b/configure.ac @@ -238,7 +238,11 @@ STEPMAKE_PROGS(TEXI2HTML, texi2html, $DOCUMENTATION_REQUIRED, 1.82) STEPMAKE_PROGS(DBLATEX, dblatex, $DOCUMENTATION_REQUIRED, 0.1.4) STEPMAKE_PROGS(BIBTEX, bibtex, $DOCUMENTATION_REQUIRED) STEPMAKE_PROGS(PDFLATEX, xelatex pdflatex, $DOCUMENTATION_REQUIRED) -STEPMAKE_PROGS(PDFTEX, xetex pdfetex pdftex etex, $DOCUMENTATION_REQUIRED) +if test "$PDFLATEX" = "xelatex"; then + STEPMAKE_PROGS(PDFTEX, xetex, $DOCUMENTATION_REQUIRED) +else + STEPMAKE_PROGS(PDFTEX, pdfetex pdftex etex, $DOCUMENTATION_REQUIRED) +fi STEPMAKE_PROGS(TEXI2PDF, texi2pdf, $DOCUMENTATION_REQUIRED) STEPMAKE_PROGS(TEXINDEX, texindex, $DOCUMENTATION_REQUIRED) AC_MSG_CHECKING(for epsf.tex)