I have 
changed the second argument of ’kpse_set_program_name’ from NULL (which would 
effectively mean argv[0]) to ’tex4ht’, as that saves having to add a 
’T4HTINPUTS’ (or ’T4HTKINPUTS’) variable into the kpathsea configuration file 
’texmf.cnf’ pointing to the same place for ’tex4ht.env’ as the ’TEX4HTINPUTS’ 
variable. 
 
0a1,4 
> /* t4htk.c = t4ht.c, but with KPATHSEA support 
>  * corrected/adjusted by Andrew Gray <[email protected]>, 
>  * 11 March 1999 
>  */ 
94a99,102 
> #ifdef KPATHSEA 
> #include <kpathsea/progname.h> 
> #include <kpathsea/tex-file.h> 
> #endif 
943c951 
<    kpse_set_program_name (argv[0], NULL); 
--- 
>    kpse_set_program_name (argv[0], ‘‘tex4ht’’);