home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / tex / texsrc1 / Src / lib / h / c-auto next >
Encoding:
Text File  |  1993-05-16  |  5.5 KB  |  192 lines

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