summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpostcode
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-06-12 14:16:05 +0000
committerNorbert Preining <preining@logic.at>2009-06-12 14:16:05 +0000
commit1abe78d0600602fcae258cb50548c4f7a61f1e97 (patch)
treecf7b50cceb5db71b7590712e14cb1623c123842c /Master/tlpkg/tlpostcode
parentb1268f502db4628e7ac20e592edb8ee694a5298a (diff)
move the warning on missing fontconfig into xetex's postaction
git-svn-id: svn://tug.org/texlive/trunk@13724 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlpostcode')
-rw-r--r--Master/tlpkg/tlpostcode/xetex.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/tlpkg/tlpostcode/xetex.pl b/Master/tlpkg/tlpostcode/xetex.pl
index 7e9bd27f57f..e996e39fb49 100644
--- a/Master/tlpkg/tlpostcode/xetex.pl
+++ b/Master/tlpkg/tlpostcode/xetex.pl
@@ -68,6 +68,15 @@ if (win32()) {
info("Running fc-cache -v -r\n");
log(`fc-cache -v -r 2>&1`);
#system("fc-cache","-v", "-r");
+} else {
+ # cygwin specific warning
+ # we don't have platform available ...
+ chomp(my $un = `uname`);
+ if ($un =~ m/cygwin/) {
+ if (! -r "/usr/bin/cygfontconfig-1.dll") {
+ printf STDERR "\nXeTeX on Cygwin requires fontconfig.\nPlease run cygwin's setup program and install the fontconfig package.\n";
+ }
+ }
}
### Local Variables: