OSDN Git Service

updated sources.
[putex/putex.git] / src / texsourc / config.h
1 /* config.h: Master configuration file.  This is included by common.h,
2    which everyone includes.
3
4    Copyright 1992 Karl Berry
5    Copyright 2007 TeX Users Group
6    Copyright 2014 Clerk Ma
7
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.
12
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.
17
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
21    02110-1301 USA.  */
22
23 #ifndef CONFIG_H
24 #define CONFIG_H
25
26 /* System dependencies that are figured out by `configure'.  */
27 #include "c-auto.h"
28
29 /* ``Standard'' headers.  */
30 #include "c-std.h"
31
32 /* Everybody uses PATH_MAX.  */
33 #include "c-pathmx.h"
34
35 /* How to open files with fopen.  */
36 #include "c-fopen.h"
37
38 /* Macros to discard or keep prototypes.  */
39 #include "c-proto.h"
40
41
42 /* The smallest signed type: use `signed char' if ANSI C, `short' if
43    char is unsigned, otherwise `char'.  */
44 #ifndef SCHAR_TYPE
45 #ifdef __STDC__
46 #define SCHAR_TYPE signed char
47 #else /* not __STDC */
48 #ifdef __CHAR_UNSIGNED__
49 #define SCHAR_TYPE short
50 #else
51 #define SCHAR_TYPE char
52 #endif
53 #endif /* not __STDC__ */
54 #endif /* not SCHAR_TYPE */
55 typedef SCHAR_TYPE schar;
56
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'.  */
63 #ifndef INTEGER_TYPE
64 #define INTEGER_TYPE long
65 #endif
66 typedef INTEGER_TYPE integer;
67
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' */
74 \f
75 /* System-dependent hacks.  */
76
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 */
86
87
88 /* Some definitions of our own.  */
89 #include "common.h"
90
91 #endif /* not CONFIG_H */
92
93 #ifdef MSDOS
94 extern bool trace_flag; /* redefinition ? */
95 extern bool open_trace_flag;    /* redefinition ? */
96 #endif