This document contains information on compile time defines for Mathomatic.

To compile Mathomatic for UNIX, Linux, Mac OS-X, or any POSIX compliant OS,
define "UNIX".  If you wish to enable trapping of floating point exceptions
in Linux, define "UNIX" and "LINUX".  Defining "LINUX" seems flakey on all
Linuxes, so it is not recommended.  To compile Mathomatic for a generic
system, simply compile with no defines.  To compile for Microsoft Win32
using Cygwin, define "CYGWIN".

Define "READLINE" and include the readline libraries at link time to use
readline mode.  This will allow easy command line editing and history.

Define "SILENT" to suppress helpful messages while manipulating equations.
This is useful when using Mathomatic as a symbolic math library.  It can also
be used to make Mathomatic like all the other math programs out there (which
rarely display helpful messages).  This also reduces the size of the code,
somewhat.

Define "SECURE" to disable file reading and writing and shell escape.  This
is useful when making Mathomatic available to the public through telnet or
CGI programs.  It is also useful when making ROMable code.

Define "TIMEOUT_SECONDS" to set the maximum number of seconds Mathomatic may
run.  Upon timeout, Mathomatic properly exits.  This is useful when making
Mathomatic a CGI program, so it won't overload the server.

Define "I18N" to enable internationalization.
