summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/install-tl4
-rw-r--r--Master/tlpkg/tlpostcode/xetex.pl9
2 files changed, 9 insertions, 4 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 1c8d7ea8da6..46344bf0a9c 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -326,10 +326,6 @@ if (!$opt_custom_bin && (platform() eq "i386-cygwin")) {
exit(1);
}
}
- if (! -r "/usr/bin/cygfontconfig-1.dll") {
- tlwarn("\nTexlive installation requires fontconfig. Please run cygwin's setup\nprogram and install the fontconfig package.\n");
- exit(1);
- }
}
if (!setup_programs ("$::installerdir/tlpkg/installer", "$::_platform_")) {
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: