diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-11 18:56:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-11 18:56:11 +0000 |
commit | 74f307ed842839ce794611cde308b787becdf74e (patch) | |
tree | 196b3b0eebdf4a519f5a96eddabad5ac197581bd /Build/source/texk/kpathsea/tex-file.c | |
parent | 3a7e27adc553f5e0ccf8206fff4e757bf3cdf062 (diff) |
add kpse_clua_format type, from Taco and Akira
git-svn-id: svn://tug.org/texlive/trunk@16676 c570f23f-e606-0410-a88d-b1316a301751
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); } |