OSDN Git Service

clean
[putex/putex.git] / src / texsourc / c-auto.h
1 /* lib/c-auto.h.  Generated automatically by configure.  */
2 /* c-auto.h.in: template for c-auto.h.  */
3
4 /* Copyright 2007 TeX Users Group
5    Copyright 2014 Clerk Ma
6
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program; if not, write to the Free Software
19    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20    02110-1301 USA.  */
21
22 /* First, here are user-dependent definitions.  configure doesn't change
23    any of these by default; if you want different values, the most
24    convenient thing to do is edit this file you run configure.
25    
26    Alternatively, you can set an environment variable DEFS before
27    running configure, as in:
28         DEFS="-DSMALLTeX -DNO_FMTBASE_SWAP"
29    
30    Another alternative is to redefine values via CFLAGS when you
31    compile, although then of course whatever configure might have done
32    automatically based on these definitions won't happen.  */
33
34
35 /* Define these if you want to compile the small (64K memory) TeX/MF.
36    The default is to compile the big (260K memory) versions.
37    Similarly for BibTeX.  */
38
39 #ifndef SMALLTeX
40   #undef SMALLTeX
41 #endif
42 #ifndef SMALLMF
43   #undef SMALLMF
44 #endif
45 #ifndef SMALLBibTeX
46   #undef SMALLBibTeX
47 #endif
48
49 /* Metafont online output support: More than one may be defined, except
50    that you can't have both X10 and X11 support (because there are
51    conflicting routine names in the libraries), or both X11 and XView
52    support, for the same reason.
53    
54    If you want X11 support, see the `Online output from Metafont'
55    section in README before compiling.  */
56 #ifndef HP2627WIN
57   #undef HP2627WIN      /* HP 2627 */
58 #endif
59 #ifndef SUNWIN
60   #undef SUNWIN         /* SunWindows */
61 #endif
62 #ifndef TEKTRONIXWIN
63   #undef TEKTRONIXWIN   /* Tektronix 4014 */
64 #endif
65 #ifndef UNITERMWIN
66   #undef UNITERMWIN     /* Uniterm Tektronix  */
67 #endif
68 #ifndef XVIEWWIN
69   #undef XVIEWWIN               /* Sun OpenWindows  */
70 #endif
71 #ifndef X10WIN
72   #undef X10WIN         /* X Version 10 */
73 #endif
74 #ifndef X11WIN
75   #undef X11WIN         /* X Version 11 */
76 #endif
77
78 #ifdef XVIEWWIN
79   #undef X11WIN
80 #endif
81
82 /* If you want to invoke MakeTeX{TeX,TFM,MF} when files can't be found,
83    define this.  If you don't have such scripts, the downside is an
84    extra fork/exec on nonexistent files.  */
85 #ifndef NO_MAKETEX
86   #undef NO_MAKETEX
87 #endif
88
89 /* Default editor command string: `%d' expands to the line number where
90    TeX or Metafont found an error and `%s' expands to the name of the
91    file.  The environment variables TEXEDIT and MFEDIT override this.  */
92 #ifndef EDITOR
93 /* #define EDITOR "vi +%d %s" */
94 /* #define EDITOR "epsilon +%d %s" */           /* better default for DOS bkph */
95   #define EDITOR "c:\\yandy\\WinEdt\\WinEdt.exe [Open('%s');SelLine(%d,7)]"
96 #endif
97
98 /* If you don't want to be able to potentially share format/base files
99    across architectures, define NO_FMTBASE_SWAP.  Sharable files load
100    slower on LittleEndian machines.  */
101 #ifndef NO_FMTBASE_SWAP
102   #undef NO_FMTBASE_SWAP
103 #endif
104
105 /* #define NO_FMTBASE_SWAP *//* Don't want to share format files bkph ? */
106
107 /* If you want to be able to produce a core dump (to make a preloaded
108    TeX/MF) with the input filename `HackyInputFileNameForCoreDump.tex'.
109    define this.  */
110 #ifndef FUNNY_CORE_DUMP
111   #undef FUNNY_CORE_DUMP
112 #endif
113
114 /* Redefine this only if you are using some non-standard TeX
115    variant which has a different string pool, e.g., Michael Ferguson's
116    MLTeX.  You may also need to uncomment the line defining $(tex9_o)
117    in `tex/Makefile'.  */
118 #ifndef TEXPOOLNAME
119   #define TEXPOOLNAME "tex.pool"
120 #endif
121
122 /* Our character set is 8-bit ASCII unless NONASCII is defined; put
123    another way, `xord' and `xchr' are *ignored* unless NONASCII is
124    defined.  For other character sets, make sure that first_text_char
125    and last_text_char are defined correctly (they're 0 and 255,
126    respectively, by default).  In the *.defines files, change the
127    indicated range of type `char' to be the same as
128    first_text_char..last_text_char, `#define NONASCII', and retangle and
129    recompile everything.  */
130 #ifndef NONASCII
131   #undef NONASCII
132 #endif
133
134 /* above has been changed to command line controlled flag - bkph */
135
136 /* On some systems, explicit register declarations make a big
137    difference.  On others, they make no difference at all.  The GNU C
138    compiler ignores them when optimizing.  */
139 #ifndef REGFIX
140   #undef REGFIX
141 #endif
142
143 /* This is end of new stuff - rest is like c-auto.h in melvin bkph */
144
145 \f
146 /* And second, here are system-dependent definitions.  configure does
147    try to figure these out.  */
148
149 /* Define as the proper declaration for yytext.  */
150 /* #define DECLARE_YYTEXT extern char  *yytext; */
151 #define DECLARE_YYTEXT extern char yytext[];    /* bkph */
152
153 /* Define if you have dirent.h.  */
154 #define DIRENT 1
155
156 /* Define if you have unistd.h.  */
157 /* #define HAVE_UNISTD_H 1 */ /* ours does not - bkph */
158
159 /* Define as the return type of signal handlers (int or void).  */
160 #define RETSIGTYPE void
161
162 /* Define if you have the ANSI C header files.  */
163 #define STDC_HEADERS 1
164
165 /* Define if you don't have dirent.h, but have sys/dir.h.  */
166 #undef SYSDIR
167
168 /* Define if you don't have dirent.h, but have sys/ndir.h.  */
169 #undef SYSNDIR
170
171 /* Define if the closedir function returns void instead of int.  */
172 #undef VOID_CLOSEDIR
173
174 /* Define if your processor stores words with the most significant
175    byte first (like Motorola and Sparc, unlike Intel and VAX).  */
176 #define WORDS_BIGENDIAN 0 
177
178 /* #undef WORDS_BIGENDIAN */            /* surely on MSDOS - bkph ??? */
179
180 /* Define if on AIX 3.  */
181 #undef _ALL_SOURCE
182
183 /* Define if on MINIX.  */
184 #undef _MINIX
185
186 /* Define if on MINIX.  */
187 #undef _POSIX_1_SOURCE
188
189 /* Define if you need to in order for stat and other things to work.  */
190 #undef _POSIX_SOURCE
191
192 /* Define if type char is unsigned and you are not using gcc.  */
193 #undef __CHAR_UNSIGNED__
194
195 /* Define to empty if the keyword does not work.  */
196 #undef const
197
198 /* Define if you have the <string.h> header file.  */
199 #define HAVE_STRING_H 1
200
201 /* Define if you have the <memory.h> header file.  */
202 #define HAVE_MEMORY_H 1
203
204 /* Define if your system lacks <limits.h>.  */
205 #undef LIMITS_H_MISSING
206
207 /* Likewise, for <float.h>.  */
208 #undef FLOAT_H_MISSING
209
210 /* Define as `float' if making a ``small'' TeX.  */
211 #undef GLUERATIO_TYPE