home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-src.tgz / tar.out / contrib / unixtex / web2c / lib / c-auto.h.in < prev    next >
Text File  |  1996-09-28  |  8KB  |  247 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 before you run configure.
  6.    
  7.    Alternatively, you can set the 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 NEXTWIN
  41. #undef NEXTWIN        /* NeXT, requires separate program;
  42.                            see mf/MFwindow/next.c. */
  43. #endif
  44. #ifndef REGISWIN
  45. #undef REGISWIN        /* Regis */
  46. #endif
  47. #ifndef SUNWIN
  48. #undef SUNWIN        /* SunWindows */
  49. #endif
  50. #ifndef TEKTRONIXWIN
  51. #undef TEKTRONIXWIN    /* Tektronix 4014 */
  52. #endif
  53. #ifndef UNITERMWIN
  54. #undef UNITERMWIN    /* Uniterm Tektronix  */
  55. #endif
  56. #ifndef XVIEWWIN
  57. #undef XVIEWWIN        /* Sun OpenWindows  */
  58. #endif
  59. #ifndef X10WIN
  60. #undef X10WIN        /* X Version 10 */
  61. #endif
  62. #ifndef X11WIN
  63. #undef X11WIN        /* X Version 11 */
  64. #endif
  65.  
  66. /* Define these to true invoke MakeTeX{TeX,MF,TFM} scripts by default
  67.    when input files can't be found.  This is just the default; if
  68.    various envvars are set, the scripts will be invoked regardless.
  69.    
  70.    Sample MakeTeXTFM and MakeTeXMF scripts are included in the lib/
  71.    directory, for your hacking pleasure.  Suggestions for MakeTeXTeX
  72.    have included ftp, decompression, etc.  */
  73. #ifndef MAKE_TEX_TEX_BY_DEFAULT
  74. #define MAKE_TEX_TEX_BY_DEFAULT false
  75. #endif
  76. #ifndef MAKE_TEX_MF_BY_DEFAULT
  77. #define MAKE_TEX_MF_BY_DEFAULT false
  78. #endif
  79. #ifndef MAKE_TEX_TFM_BY_DEFAULT
  80. #define MAKE_TEX_TFM_BY_DEFAULT false
  81. #endif
  82.  
  83. /* Default editor command string: `%d' expands to the line number where
  84.    TeX or Metafont found an error and `%s' expands to the name of the
  85.    file.  The environment variables TEXEDIT and MFEDIT override this.  */
  86. #ifndef EDITOR
  87. #define EDITOR "vi +%d %s"
  88. #endif
  89.  
  90. /* If you want fmt/base files to be different on different Endian
  91.    architectures, and hence non-sharable, define this.
  92.    You might want this because sharable files load slower on
  93.    LittleEndian machines.  */ 
  94. #ifndef NO_FMTBASE_SWAP
  95. #undef NO_FMTBASE_SWAP
  96. #endif
  97.  
  98. /* On some systems, explicit register declarations make a big
  99.    difference.  On others, they make no difference at all -- for
  100.    example, the GNU C compiler ignores them when optimizing.  */
  101. #ifndef REGFIX
  102. #undef REGFIX
  103. #endif
  104.  
  105. /* Redefine this only if you are using some non-standard TeX
  106.    variant which has a different string pool, e.g., Michael Ferguson's
  107.    MLTeX.  You may also need to define $(extra_tex_obj)=tex10.o or some
  108.    such for `tex/Makefile'.  */
  109. #ifndef TEXPOOLNAME
  110. #define TEXPOOLNAME "tex.pool"
  111. #endif
  112.  
  113. /* If you want to be able to produce a core dump (to make a preloaded
  114.    TeX/MF) with the input filename `HackyInputFileNameForCoreDump.tex'.
  115.    define this.  */
  116. #ifndef FUNNY_CORE_DUMP
  117. #undef FUNNY_CORE_DUMP
  118. #endif
  119.  
  120. /* Our character set is 8-bit ASCII unless NONASCII is defined; put
  121.    another way, `xord' and `xchr' are *ignored* unless NONASCII is
  122.    defined.  For other character sets, define first_text_char and
  123.    last_text_char appropriately (they're 0 and 255, respectively, by
  124.    default) in the change files.  In the *.defines files, change the
  125.    indicated range of type `char' to be the same as
  126.    first_text_char..last_text_char, `#define NONASCII', and retangle and
  127.    recompile everything.  */
  128. #ifndef NONASCII
  129. #undef NONASCII
  130. #endif
  131.  
  132. /* If you want to find subdirectories in a directory with non-Unix
  133.    semantics (specifically, if a directory with no subdirectories does
  134.    not have the `st_nlink' stat field == 2), define this.  */
  135. #if !defined (DOS) && !defined (VMS) && !defined (VMCMS)
  136. #define UNIX_ST_NLINK
  137. #endif /* not DOS and not VMS and not VMCMS */
  138.  
  139. /* And second, here are system-dependent definitions.  configure does
  140.    try to figure these out.  */
  141.  
  142. /* Define as `float' if making a ``small'' TeX.  */
  143. #undef GLUERATIO_TYPE
  144.  
  145. /* Define if your putenv doesn't waste space when the same environment
  146.    variable is assigned more than once, with different (malloced)
  147.    values.  This is true only on NetBSD/FreeBSD, as far as I know. See
  148.    xputenv.c.  */
  149. #undef SMART_PUTENV
  150.  
  151. /* Define if you are using GNU libc or otherwise have global variables
  152.    `program_invocation_name' and `program_invocation_short_name'.  */
  153. #undef HAVE_PROGRAM_INVOCATION_NAME
  154.  
  155. /* Define if you get clashes concerning wchar_t, between X's include
  156.    files and system includes.  */
  157. #undef FOIL_X_WCHAR_T
  158.  
  159. /* Define if you have SIGIO, F_SETOWN, and FASYNC.  */
  160. #undef HAVE_SIGIO
  161.  
  162. /* Below here generated by autoheader.  */
  163. /* c-auto.h.in.  Generated automatically from configure.in by autoheader.  */
  164.  
  165. /* Define if type char is unsigned and you are not using gcc.  */
  166. #undef __CHAR_UNSIGNED__
  167.  
  168. /* Define if the closedir function returns void instead of int.  */
  169. #undef CLOSEDIR_VOID
  170.  
  171. /* Define to empty if the keyword does not work.  */
  172. #undef const
  173.  
  174. /* Define if long int is 64 bits.  */
  175. #undef LONG_64_BITS
  176.  
  177. /* Define if you need to in order for stat and other things to work.  */
  178. #undef _POSIX_SOURCE
  179.  
  180. /* Define as the return type of signal handlers (int or void).  */
  181. #undef RETSIGTYPE
  182.  
  183. /* Define if you have the ANSI C header files.  */
  184. #undef STDC_HEADERS
  185.  
  186. /* Define if your processor stores words with the most significant
  187.    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
  188. #undef WORDS_BIGENDIAN
  189.  
  190. /* Define if lex declares yytext as a char * by default, not a char[].  */
  191. #undef YYTEXT_POINTER
  192.  
  193. /* Define if you have the basename function.  */
  194. #undef HAVE_BASENAME
  195.  
  196. /* Define if you have the bcopy function.  */
  197. #undef HAVE_BCOPY
  198.  
  199. /* Define if you have the memmove function.  */
  200. #undef HAVE_MEMMOVE
  201.  
  202. /* Define if you have the putenv function.  */
  203. #undef HAVE_PUTENV
  204.  
  205. /* Define if you have the <assert.h> header file.  */
  206. #undef HAVE_ASSERT_H
  207.  
  208. /* Define if you have the <dirent.h> header file.  */
  209. #undef HAVE_DIRENT_H
  210.  
  211. /* Define if you have the <float.h> header file.  */
  212. #undef HAVE_FLOAT_H
  213.  
  214. /* Define if you have the <limits.h> header file.  */
  215. #undef HAVE_LIMITS_H
  216.  
  217. /* Define if you have the <memory.h> header file.  */
  218. #undef HAVE_MEMORY_H
  219.  
  220. /* Define if you have the <ndir.h> header file.  */
  221. #undef HAVE_NDIR_H
  222.  
  223. /* Define if you have the <pwd.h> header file.  */
  224. #undef HAVE_PWD_H
  225.  
  226. /* Define if you have the <stdlib.h> header file.  */
  227. #undef HAVE_STDLIB_H
  228.  
  229. /* Define if you have the <string.h> header file.  */
  230. #undef HAVE_STRING_H
  231.  
  232. /* Define if you have the <sys/dir.h> header file.  */
  233. #undef HAVE_SYS_DIR_H
  234.  
  235. /* Define if you have the <sys/ndir.h> header file.  */
  236. #undef HAVE_SYS_NDIR_H
  237.  
  238. /* Define if you have the <unistd.h> header file.  */
  239. #undef HAVE_UNISTD_H
  240.  
  241. /* Retrofit needed by the sources, which still use DECLARE_YYTEXT.  */
  242. #if YYTEXT_POINTER
  243. #define DECLARE_YYTEXT extern char *yytext;
  244. #else
  245. #define DECLARE_YYTEXT extern char yytext[];
  246. #endif
  247.