1 /* config.h: Master configuration file. This is included by common.h,
2 which everyone includes.
4 Copyright 1992 Karl Berry
5 Copyright 2007 TeX Users Group
6 Copyright 2014 Clerk Ma
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 /* System dependencies that are figured out by `configure'. */
29 /* ``Standard'' headers. */
32 /* Everybody uses PATH_MAX. */
35 /* How to open files with fopen. */
38 /* Macros to discard or keep prototypes. */
42 /* The smallest signed type: use `signed char' if ANSI C, `short' if
43 char is unsigned, otherwise `char'. */
46 #define SCHAR_TYPE signed char
47 #else /* not __STDC */
48 #ifdef __CHAR_UNSIGNED__
49 #define SCHAR_TYPE short
51 #define SCHAR_TYPE char
53 #endif /* not __STDC__ */
54 #endif /* not SCHAR_TYPE */
55 typedef SCHAR_TYPE schar;
57 /* The type `integer' must be a signed integer capable of holding at
58 least the range of numbers (-2^31)..(2^31-1). If your compiler goes
59 to great lengths to make programs fail, you might have to change this
60 definition. If this changes, you will probably have to modify
61 web2c/fixwrites.c, since it generates code to do integer output using
62 "%ld", and casts all integral values to be printed to `long'. */
64 #define INTEGER_TYPE long
66 typedef INTEGER_TYPE integer;
68 /* `volatile' is only used in Metafont to avoid bugs in the MIPS C
69 compiler. If this definition goes wrong somehow, just get rid of it
70 and the two corresponding substitutions in mf/convert. */
71 /* #ifndef __STDC__ */
72 /* #define volatile */
73 /* #endif */ /* flushed 1994/March/20 to protect `int interrupt' */
75 /* System-dependent hacks. */
77 /* Hack to get around High C on an IBM RT treating `char' differently
78 than normal compilers, etc. */
79 #if defined (__HIGHC__) && defined (ibm032)
80 pragma Off(Char_default_unsigned);
81 pragma On(Char_is_rep);
82 pragma On(Parm_warnings);
83 pragma On(Pointers_compatible);
84 pragma On(Pointers_compatible_with_ints);
85 #endif /* __HIGHC__ and ibm032 */
88 /* Some definitions of our own. */
91 #endif /* not CONFIG_H */
94 extern bool trace_flag; /* redefinition ? */
95 extern bool open_trace_flag; /* redefinition ? */