Debian Codegraph @

texk/dvipsk/config.h

raw
1 /* config.h: master configuration file, included first by all compilable
2 source files (not headers). This file is public domain. */
3
4 #ifndef CONFIG_H
5 #define CONFIG_H
6
7 /* The stuff from the path searching library. */
8 #include <kpathsea/config.h>
9
10 /* How to open files with fopen. */
11 #include <kpathsea/c-fopen.h>
12
13 /* How the filenames' parts are separated. */
14 #include <kpathsea/c-pathch.h>
15
16 /* Have to get the enum constants below, sigh. Still better than
17 repeating the definitions everywhere we need them. */
18 #include <kpathsea/tex-file.h>
19
20 #include <c-auto.h>
21
22 /* For kpathsea, we don't have paths, we have formats. This is so
23 we can do lazy evaluation of only the formats we need, instead of
24 having to initialize everything in the world. */
25 #define figpath kpse_pict_format
26 #define pictpath kpse_pict_format
27 #define pkpath kpse_pk_format
28 #define tfmpath kpse_tfm_format
29 #define ovfpath kpse_ovf_format
30 #define ofmpath kpse_ofm_format
31 #define vfpath kpse_vf_format
32 #define configpath kpse_dvips_config_format
33 #define headerpath kpse_tex_ps_header_format
34 #define type1path kpse_type1_format
35 #define mappath kpse_fontmap_format
36 #define encpath kpse_enc_format
37
38 #if (defined (DOS) || defined (MSDOS)) && !defined (__DJGPP__)
39 #undef DOS
40 #undef MSDOS
41 #define DOS
42 #define MSDOS
43 #endif
44
45 /* dvips has a different name for this. */
46 #if SIZEOF_INT < 4
47 #define SHORTINT
48 #endif
49
50 #define READ FOPEN_R_MODE
51 #define READBIN FOPEN_RBIN_MODE
52 #define WRITEBIN FOPEN_WBIN_MODE
53
54 /* Include various things by default. */
55 #ifndef NO_HPS
56 #define HPS
57 #endif
58 #ifndef NO_TPIC
59 #define TPIC
60 #endif
61 #ifndef NO_EMTEX
62 #define EMTEX
63 #endif
64
65 /* Include debugging by default, too. */
66 #ifndef NO_DEBUG
67 #undef DEBUG
68 #define DEBUG
69
70 /* To pass along to kpathsea. (Avoid changing debug.h.) */
71 #define D_STAT (1<<9)
72 #define D_HASH (1<<10)
73 #define D_EXPAND (1<<11)
74 #define D_SEARCH (1<<12)
75 #endif
76
77 /* These are defined under NT, but we have variable names. */
78 #undef ERROR
79 #undef NO_ERROR
80
81 #endif /* not CONFIG_H */