]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4782: Fix XeTeX checking in configure script
authorMasamichi Hosoda <trueroad@trueroad.jp>
Mon, 29 Feb 2016 12:22:03 +0000 (21:22 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Mon, 7 Mar 2016 14:58:57 +0000 (23:58 +0900)
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.

configure.ac

index f5ec4c25abf0319f81c83967fa3df57c4727e441..a34bbc580e56ecde5de72021dd6b6a13429b30ee 100644 (file)
@@ -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)