
    System specific instructions for compilation of readline and templedit
      -----------------------------------------------------------------


PC386, Linux 0.99.13, gcc 2.4.5
-------------------------------

 1) Compilation of readline:
     - do not change the Makefile, except for DESTDIR and INCDIR.
       Especially, do not define USG.
     - Edit readline.c and change the line
       #include <sgtty.h>
       into
       #include <bsd/sgtty.h>
     - that's all, but libreadline.a requires -lbsd

 2) Compilation of templedit:
     - add -lbsd to READLINEAUXLIBS in the top level Makefile


HP9000, HP/UX 9.1, HP cc
------------------------
 1) Compilation of readline:
     - do not define USG
     - if you are using HP cc, do not use -Aa (readline is in K&R C)
     - set DESTDIR and INCDIR to their right value.
     - that's all, but libreadline.a requires alloca() from libPW.a

 2) Compilation of templedit:
     - CFLAGS must hold -Aa -D_INCLUDE_POSIX_SOURCE (if you have managed to
       compile moviedb, you probably already know this)
     - add -lPW to READLINEAUXLIBS in the top level Makefile.
       You do NOT need -lBSD in spite of what readline doc says.
     - you will probably need to set MORE to 'more' instead of less.
