]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/kpath-private.hh
* stepmake/aclocal.m4 (STEPMAKE_KPATHSEA): Do not include
[lilypond.git] / lily / include / kpath-private.hh
1 /*
2   kpath-private.hh -- declare
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
7
8 */
9
10 #ifndef KPATH_PRIVATE_HH
11 #define KPATH_PRIVATE_HH
12
13 #include "config.hh"
14
15 #define popen KPATHSEA_HAS_POPEN_PROTOTYPE_PROBLEM
16 #define pclose KPATHSEA_HAS_PCLOSE_PROTOTYPE_PROBLEM
17 #define getopt KPATHSEA_HAS_GETOPT_PROTOTYPE_PROBLEM
18
19 #if HAVE_KPATHSEA_KPATHSEA_H
20 extern "C" {
21   #include <kpathsea/kpathsea.h>
22   #include <kpathsea/tex-file.h>
23   extern void *kpathsea_handle;
24   extern char *(*dl_kpse_find_file) (char const*, kpse_file_format_type,
25                                      boolean);
26   extern char const *(*dl_kpse_init_format) (kpse_file_format_type);
27   extern void (*dl_kpse_maketex_option) (char const*, boolean);
28   extern void (*dl_kpse_set_program_name) (char const*);
29   extern char *(*dl_kpse_var_expand) (char const*);
30   extern kpse_format_info_type (*dl_kpse_format_info)[kpse_last_format];
31 }
32 #endif
33
34 kpse_file_format_type kpathsea_find_format (String name);
35
36 #endif /* KPATH_PRIVATE_HH */
37
38
39