/* c-auto.h.in: template for c-auto.h.  */

/* First, here are user-dependent definitions.  configure doesn't change
   any of these by default; if you want different values, the most
   convenient thing to do is edit this file before you run configure.
   
   Alternatively, you can set the environment variable DEFS before
   running configure, as in:
	DEFS="-DSMALLTeX -DNO_FMTBASE_SWAP"
   
   Another alternative is to redefine values via CFLAGS when you
   compile, although then of course whatever configure might have done
   automatically based on these definitions won't happen.  */


/* Define these if you want to compile the small (64K memory) TeX/MF/MP.
   The default is to compile the big (260K memory) versions.
   Similarly for BibTeX.  */

#ifndef SMALLTeX
#undef SMALLTeX
#endif
#ifndef SMALLMF
#undef SMALLMF
#endif
#ifndef SMALLMP
#undef SMALLMP
#endif
#ifndef SMALLBibTeX
#undef SMALLBibTeX
#endif

/* Metafont online output support: More than one may be defined, except
   that you can't have both X10 and X11 support (because there are
   conflicting routine names in the libraries), or both X11 and XView
   support, for the same reason.
   
   If you want X11 support, see the `Online output from Metafont'
   section in README before compiling.  */
#ifndef HP2627WIN
#undef HP2627WIN	/* HP 2627 */
#endif
#ifndef NEXTWIN
#undef NEXTWIN		/* NeXT, requires separate program;
                           see mf/MFwindow/next.c. */
#endif
#ifndef REGISWIN
#undef REGISWIN		/* Regis */
#endif
#ifndef SUNWIN
#undef SUNWIN		/* SunWindows */
#endif
#ifndef TEKTRONIXWIN
#undef TEKTRONIXWIN	/* Tektronix 4014 */
#endif
#ifndef UNITERMWIN
#undef UNITERMWIN	/* Uniterm Tektronix  */
#endif
#ifndef XVIEWWIN
#undef XVIEWWIN		/* Sun OpenWindows  */
#endif
#ifndef X10WIN
#undef X10WIN		/* X Version 10 */
#endif
#ifndef NO_X11WIN
#define X11WIN		/* X Version 11 */
#endif

/* Define these to true invoke MakeTeX{TeX,MF,TFM} scripts by default
   when input files can't be found.  This is just the default; if
   various envvars are set, the scripts will be invoked regardless.
   
   Sample MakeTeXTFM and MakeTeXMF scripts are included in the lib/
   directory, for your hacking pleasure.  Suggestions for MakeTeXTeX
   have included ftp, decompression, etc.  */
#ifndef MAKE_TEX_TEX_BY_DEFAULT
#define MAKE_TEX_TEX_BY_DEFAULT false
#endif
#ifndef MAKE_TEX_MF_BY_DEFAULT
#define MAKE_TEX_MF_BY_DEFAULT true
#endif
#ifndef MAKE_TEX_TFM_BY_DEFAULT
#define MAKE_TEX_TFM_BY_DEFAULT true
#endif

/* Default editor command string: `%d' expands to the line number where
   TeX or Metafont found an error and `%s' expands to the name of the
   file.  The environment variables TEXEDIT and MFEDIT override this.  */
#ifndef EDITOR
#define EDITOR "vi +%d %s"
#endif

/* If you want fmt/base files to be different on different Endian
   architectures, and hence non-sharable, define this.
   You might want this because sharable files load slower on
   LittleEndian machines.  */ 
#ifndef NO_FMTBASE_SWAP
#undef NO_FMTBASE_SWAP
#endif

/* On some systems, explicit register declarations make a big
   difference.  On others, they make no difference at all -- for
   example, the GNU C compiler ignores them when optimizing.  */
#ifndef REGFIX
#undef REGFIX
#endif

/* Define FIXPT if you want to use the arithmetic routines in mp.web
   instead of the external routines in mpmath.c that use double precision
   floating point to compute the same results.  You should probably do
   this only if your machine does not have hardware floating point.
   If you aren't sure, go to the mp subdirectory, make timemath, and
   run the resulting test program.  It prints execution times for both
   versions of the arithmetic routines and warns if the floating point
   versions produce incorrect results.  */
#ifndef FIXPT
#undef FIXPT
#endif

/* Redefine this only if you are using some non-standard TeX
   variant which has a different string pool, e.g., Michael Ferguson's
   MLTeX.  You may also need to define $(extra_tex_obj)=tex10.o or some
   such for `tex/Makefile'.  */
#ifndef TEXPOOLNAME
#define TEXPOOLNAME "tex.pool"
#endif

/* If you want to be able to produce a core dump (to make a preloaded
   TeX/MF) with the input filename `HackyInputFileNameForCoreDump.tex'.
   define this.  */
#ifndef FUNNY_CORE_DUMP
#undef FUNNY_CORE_DUMP
#endif

/* Our character set is 8-bit ASCII unless NONASCII is defined; put
   another way, `xord' and `xchr' are *ignored* unless NONASCII is
   defined.  For other character sets, define first_text_char and
   last_text_char appropriately (they're 0 and 255, respectively, by
   default) in the change files.  In the *.defines files, change the
   indicated range of type `char' to be the same as
   first_text_char..last_text_char, `#define NONASCII', and retangle and
   recompile everything.  */
#ifndef NONASCII
#undef NONASCII
#endif

/* If you want to find subdirectories in a directory with non-Unix
   semantics (specifically, if a directory with no subdirectories does
   not have the `st_nlink' stat field == 2), define this.  */
#if !defined (DOS) && !defined (VMS) && !defined (VMCMS)
#define UNIX_ST_NLINK
#endif /* not DOS and not VMS and not VMCMS */

/* And second, here are system-dependent definitions.  configure does
   try to figure these out.  */

/* Define as `float' if making a ``small'' TeX.  */
#undef GLUERATIO_TYPE

/* Define if your putenv doesn't waste space when the same environment
   variable is assigned more than once, with different (malloced)
   values.  This is true only on NetBSD/FreeBSD, as far as I know. See
   xputenv.c.  */
#undef SMART_PUTENV

/* Define if you are using GNU libc or otherwise have global variables
   `program_invocation_name' and `program_invocation_short_name'.  */
#undef HAVE_PROGRAM_INVOCATION_NAME

/* Define if you get clashes concerning wchar_t, between X's include
   files and system includes.  */
#undef FOIL_X_WCHAR_T

/* Define if you have SIGIO, F_SETOWN, and FASYNC.  */
#undef HAVE_SIGIO

/* Below here generated by autoheader.  */
/* c-auto.h.in.  Generated automatically from configure.in by autoheader.  */

/* Define if type char is unsigned and you are not using gcc.  */
#undef __CHAR_UNSIGNED__

/* Define if the closedir function returns void instead of int.  */
#undef CLOSEDIR_VOID

/* Define to empty if the keyword does not work.  */
#undef const

/* Define if long int is 64 bits.  */
#undef LONG_64_BITS

/* Define if you need to in order for stat and other things to work.  */
#undef _POSIX_SOURCE

/* Define as the return type of signal handlers (int or void).  */
#undef RETSIGTYPE

/* Define if you have the ANSI C header files.  */
#undef STDC_HEADERS

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

/* Define if lex declares yytext as a char * by default, not a char[].  */
#define YYTEXT_POINTER 1

/* Define if you have the basename function.  */
#undef HAVE_BASENAME

/* Define if you have the bcopy function.  */
#undef HAVE_BCOPY

/* Define if you have the memmove function.  */
#undef HAVE_MEMMOVE

/* Define if you have the putenv function.  */
#undef HAVE_PUTENV

/* Define if you have the <assert.h> header file.  */
#undef HAVE_ASSERT_H

/* Define if you have the <dirent.h> header file.  */
#undef HAVE_DIRENT_H

/* Define if you have the <float.h> header file.  */
#undef HAVE_FLOAT_H

/* Define if you have the <limits.h> header file.  */
#undef HAVE_LIMITS_H

/* Define if you have the <memory.h> header file.  */
#undef HAVE_MEMORY_H

/* Define if you have the <ndir.h> header file.  */
#undef HAVE_NDIR_H

/* Define if you have the <pwd.h> header file.  */
#undef HAVE_PWD_H

/* Define if you have the <stdlib.h> header file.  */
#undef HAVE_STDLIB_H

/* Define if you have the <string.h> header file.  */
#undef HAVE_STRING_H

/* Define if you have the <sys/dir.h> header file.  */
#undef HAVE_SYS_DIR_H

/* Define if you have the <sys/ndir.h> header file.  */
#undef HAVE_SYS_NDIR_H

/* Define if you have the <unistd.h> header file.  */
#undef HAVE_UNISTD_H

/* Retrofit needed by the sources, which still use DECLARE_YYTEXT.  */
#if YYTEXT_POINTER
#define DECLARE_YYTEXT extern char *yytext;
#else
#define DECLARE_YYTEXT extern char yytext[];
#endif

#ifdef NeXT
#ifdef __BIG_ENDIAN__
#define WORDS_BIGENDIAN 1
#endif
#endif
