
This file contains installation instructions specific to Oleo.  Before
reading this file, you should be familiar with the generic
installation instructions in the file INSTALL.

* Configuring the size of spreadsheets.

* Compiling X11 support.

If configure finds the header file `<X11/X.h>', Oleo will be compiled
with support X11 in addition to the usual terminal interface.  `-lX11'
will be added to the list of libraries.  

If the X header files are in an unusual location, run configure with a
command like:

  $ DEFS='-I$X_INCLUDE_DIR' configure

If this command is not appropriate for your system, you will have to
edit the Makefile and perhaps the `#include' directives in `io-x11.h'.
In the Makefile, check the defintions of `optional_libs' and
`ALL_CFLAGS'.  To compile without X support, remove `-DHAVE_X11_X_H=1'
from the definition of `ALL_CFLAGS'.  To compile with X11 support,
make sure that HAVE_X11_X_H is defined, and that `optional_libs'
includes the xlib functions.

* System specific advice

** AIX

    A configure bug will require you to remove references to -ltermlib
    from the Makefile on AIX systems.

** SGI

    Apparently the parse.tab.c generated by bison does not include
    alloca.h as it should.  If you experience problems compiling that file,
    look for a line (in parse.tab.c):

#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc)
#include <alloca.h>

    and add a test appropriate for your system. 


Changes for oleo-1.2.2 under sco unix 3.2v4.0:

sysdef.h:

commented #include for <sys/select.h>.  time.h already defined struct timeval.

io_curses.c:

changed beep to my_beep because curses already defines beep.

Makefile:

need to use random.c.
added
        optional_libs =  -lX11_s -lcurses -ltermlib
        libs =  $(optional_libs) -lm -lsocket -lmalloc -lPW -lc_s
