This is a port of GNU UnRTF 0.21.5 to MSDOS/DJGPP.


1.:     DJGPP specific changes.
        =======================

        To compile this package you will need to install the libiconv package
        because it is assumed that the iconv functionality is available eihter
        through the c library or through libiconv.  Also an implementation of
        strcasestr is provided because unrtf assumes without checking that it
        is available.  As usual all DJGPP specific changes to the sources are
        documented in the diffs file stored in the /djgpp directory.
        Of course, if you do not want to compile the sources you do not need to
        download and install the iconv library package at all.


2.:     Installing the binary package.
        ==============================

2.1.:   Copy the binary distribution into the top DJGPP installation directory,
        just unzip it preserving the directory structure running *ONE* of the
        following commands:
          unzip32 urtf215b.zip      or
          djtarx urtf215b.zip       or
          pkunzip -d urtf215b.zip

2.2.:   Read the man page and the html formatted docs to become familiar with
        the product.


3.:     Building the binaries from sources.
        ===================================

3.1.:   To build the binaries you will need the following binary packages:
          djdev203.zip (patch level 2, see the djdev203.dsm or a later version)
          bsh205bbr3.zip (or a later but NOT a prior version)
          gccNNNb.zip, bnuNNNb.zip, makNNNb.zip,
          filNNNb.zip, shlNNNb.zip, txtNNb.zip,
        where NNN corresponds to the current versions.
        All this packages can be found in the v2gnu directory of any
        ftp.delorie.com mirror.

3.2.:   Create a temporary directory and copy the source package into the
        directory. If you download the source distribution from one of the
        DJGPP archives, just unzip it preserving the directory structure
        running *ONE* of the following commands:
          unzip32 urtf215s.zip      or
          djtarx urtf215s.zip       or
          pkunzip -d urtf215s.zip


3.3.:   The package has been configured for both DJGPP 2.03 and DJGPP 2.04.
        There is a separate build directory for DJGPP 2.03 and for DJGPP 2.04
        under the top srcdir (aka unrtf-0.215).  To build the binaries
        using the 2.03 version of DJGPP cd into _build.203; if you prefer to
        build the binaries using DJGPP 2.04 cd into _build.204.  If for some
        reason you want to reconfigure the package cd into the corresponding
        build directory and run the following commands:
          del config.cache
          make clean
          ..\djgpp\config ./..

        Please note that you *MUST* delete the config.cache file in the djgpp
        subdir or you will not really reconfigure the sources because the
        configuration informations will be read from the cache file instead
        of being newly computed.

        To build the programs in a directory other than where the sources are,
        you must add the parameter that specifies the source directory,
        e.g:
          x:\src\gnu\unrtf-0.215\djgpp\config x:/src/gnu/unrtf-0.215

        Lets assume you want to build the binaries in a directory placed on a
        different drive (z:\build in this case) from where the sources are,
        then you will run the following commands:
          z:
          md \build
          cd \build
          x:\src\gnu\unrtf-0.215\djgpp\config x:/src/gnu/unrtf-0.215

        The order of the options and the srcdir option does not matter. You
        *MUST* use forward slashes to specify the source directory.

        The batch file will set same environment variables, make MSDOS specific
        modifications to the Makefile.ins and supply all other needed options
        to the configure script.

3.4.:   To compile the package run from the directory where you have configured
        the sources the command:
          make

3.5.:   Now you can run the test suite by issuing the command:
          make check
        No check shall fail.

3.6.:   To install the binary, info docs and man pages run the following command
        from the top srcdir:
          make install

        This will install the products into your DJGPP installation tree given
        by the default prefix "/dev/env/DJDIR". If you prefer to install them
        into some other directory you will have to set prefix to the appropriate
        value.
        Example:
          make install prefix=z:/some/other/dir



        Send GNU UnRTF specific bug reports to <bug-unrtf@gnu.org>.
        Send suggestions and bug reports concerning the DJGPP port to
        comp.os.msdos.djgpp or <djgpp@delorie.com>.


Enjoy.

        Guerrero, Juan Manuel <juan.guerrero@gmx.de>
