1 /* lib/c-auto.h. Generated automatically by configure. */
2 /* c-auto.h.in: template for c-auto.h. */
4 /* Copyright 2007 TeX Users Group
5 Copyright 2014 Clerk Ma
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.
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.
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
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.
26 Alternatively, you can set an environment variable DEFS before
27 running configure, as in:
28 DEFS="-DSMALLTeX -DNO_FMTBASE_SWAP"
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. */
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. */
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.
54 If you want X11 support, see the `Online output from Metafont'
55 section in README before compiling. */
57 #undef HP2627WIN /* HP 2627 */
60 #undef SUNWIN /* SunWindows */
63 #undef TEKTRONIXWIN /* Tektronix 4014 */
66 #undef UNITERMWIN /* Uniterm Tektronix */
69 #undef XVIEWWIN /* Sun OpenWindows */
72 #undef X10WIN /* X Version 10 */
75 #undef X11WIN /* X Version 11 */
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. */
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. */
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)]"
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
105 /* #define NO_FMTBASE_SWAP *//* Don't want to share format files bkph ? */
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'.
110 #ifndef FUNNY_CORE_DUMP
111 #undef FUNNY_CORE_DUMP
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'. */
119 #define TEXPOOLNAME "tex.pool"
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. */
134 /* above has been changed to command line controlled flag - bkph */
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. */
143 /* This is end of new stuff - rest is like c-auto.h in melvin bkph */
146 /* And second, here are system-dependent definitions. configure does
147 try to figure these out. */
149 /* Define as the proper declaration for yytext. */
150 /* #define DECLARE_YYTEXT extern char *yytext; */
151 #define DECLARE_YYTEXT extern char yytext[]; /* bkph */
153 /* Define if you have dirent.h. */
156 /* Define if you have unistd.h. */
157 /* #define HAVE_UNISTD_H 1 */ /* ours does not - bkph */
159 /* Define as the return type of signal handlers (int or void). */
160 #define RETSIGTYPE void
162 /* Define if you have the ANSI C header files. */
163 #define STDC_HEADERS 1
165 /* Define if you don't have dirent.h, but have sys/dir.h. */
168 /* Define if you don't have dirent.h, but have sys/ndir.h. */
171 /* Define if the closedir function returns void instead of int. */
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
178 /* #undef WORDS_BIGENDIAN */ /* surely on MSDOS - bkph ??? */
180 /* Define if on AIX 3. */
183 /* Define if on MINIX. */
186 /* Define if on MINIX. */
187 #undef _POSIX_1_SOURCE
189 /* Define if you need to in order for stat and other things to work. */
192 /* Define if type char is unsigned and you are not using gcc. */
193 #undef __CHAR_UNSIGNED__
195 /* Define to empty if the keyword does not work. */
198 /* Define if you have the <string.h> header file. */
199 #define HAVE_STRING_H 1
201 /* Define if you have the <memory.h> header file. */
202 #define HAVE_MEMORY_H 1
204 /* Define if your system lacks <limits.h>. */
205 #undef LIMITS_H_MISSING
207 /* Likewise, for <float.h>. */
208 #undef FLOAT_H_MISSING
210 /* Define as `float' if making a ``small'' TeX. */
211 #undef GLUERATIO_TYPE