diff options
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c index d0d0edd8901..75cc017d9ad 100644 --- a/Build/source/texk/kpathsea/tex-file.c +++ b/Build/source/texk/kpathsea/tex-file.c @@ -1,6 +1,6 @@ /* tex-file.c: high-level file searching by format. - Copyright 1993, 1994, 1995, 1996, 1997, 2007, 2008, 2009 Karl Berry. + Copyright 1993, 1994, 1995, 1996, 1997, 2007, 2008, 2009, 2010 Karl Berry. Copyright 1998-2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -86,6 +86,7 @@ #define LIG_ENVS "LIGFONTS", "TEXFONTS" #define TEXMFSCRIPTS_ENVS "TEXMFSCRIPTS" #define LUA_ENVS "LUAINPUTS" +#define CLUA_ENVS "CLUAINPUTS" #define FONTFEATURES_ENVS "FONTFEATURES" #define FONTCIDMAPS_ENVS "FONTCIDMAPS" #define MLBIB_ENVS "MLBIBINPUTS", BIB_ENVS @@ -780,6 +781,12 @@ kpathsea_init_format (kpathsea kpse, kpse_file_format_type format) SUFFIXES (MLBST_SUFFIXES); FMT_INFO.suffix_search_only = true; break; + case kpse_clua_format: + INIT_FORMAT ("clua", DEFAULT_CLUAINPUTS, CLUA_ENVS); +#define CLUA_SUFFIXES ".dll", ".so" + SUFFIXES (CLUA_SUFFIXES); + FMT_INFO.suffix_search_only = true; + break; default: LIB_FATAL1 ("kpse_init_format: Unknown format %d", format); } |