diff options
Diffstat (limited to 'Build/source/texk/kpathsea/cnf.c')
-rw-r--r-- | Build/source/texk/kpathsea/cnf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/cnf.c b/Build/source/texk/kpathsea/cnf.c index f3b8efed19c..4ac5451fd8c 100644 --- a/Build/source/texk/kpathsea/cnf.c +++ b/Build/source/texk/kpathsea/cnf.c @@ -198,7 +198,11 @@ read_all_cnf P1H(void) } free (cnf_files); } else { - WARNING1 ("kpathsea: configuration file texmf.cnf not found in these directories: %s", cnf_path); + string warn = getenv ("KPATHSEA_WARNING"); + if (!(warn && STREQ (warn, "0"))) { + WARNING1 ("kpathsea: configuration file texmf.cnf not found in these directories: %s", + cnf_path); + } } } |