This is a port of GNU diffutils 3.0 to MSDOS/DJGPP.

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

      - The port will honor the DOS environment variables TMP and TEMP if
        TMPDIR is not set or not accessible.
      - The port will select at run time the pattern to be used when temp
        file name are created.  If LFN support is available then the standard
        pattern, this is "sdiffXXXXXX" will be used.  IF only SFN support is
        available then "dfXXXXXX" will be used.
      - This port will strip the extension from argv[0].


        All the changes done to the original distribution are documented in the
        diffs file and located together with all the files needed to configure
        the package (config.bat, config.sed, config.site, etc.) in the /djgpp
        subdir.  There exist a /ms subdir that contains files to configure and
        build the package.  This is part of the original FSF diffutils source
        distribution. I have never inspected nor used those files, so I will
        not be able answer questions if you decide to use it.



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

2.1.:   Copy the binary distribution into the top DJGPP installation directory
        and unzip it running one of the following commands:
          unzip32 dif30b.zip      or
          djtarx dif30b.zip       or
          pkunzip -d dif30b.zip

2.2.:   If there is no entry for the gzip info docs in your dir file, located
        info directory, create one running the command:
          install-info --info-dir=/dev/env/DJDIR/info /dev/env/DJDIR/info/diffutils.info

        For further information about GNU diffutils please read the info docs,
        man pages and the README, NEWS and ChangeLog files.


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)
          bsh205bbr3.zip  (or a later but NOT a prior version)
          gccNNNb.zip, gppNNN.zip, bnuNNNb.zip, makNNNb.zip, filNNNb.zip,
          shlNNNb.zip, txtNNNb.zip, txiNNNb.zip, grepNNNb.zip, sedNNNb.zip.

        NNN represents the latest version number of the binary packages.  All
        this packages can be found in the /v2gnu directory of any
        ftp.delorie.com mirror.  Previous versions of those packages may do the
        job as well but I have not tested this.
        You will need bsh204br3.zip or later and *NOT* a prior version or
        the build will fail.  The same applies to djdev203.zip.

3.2.:   Create a temporary directory.  Copy the source package: dif30s.zip
        into the directory and unzip it running one of the following commands:
          unzip32 dif30s.zip      or
          djtarx dif30s.zip       or
          pkunzip -d dif30s.zip

3.3.:   This package is already preconfigured for djdev203.  To compile the
        sources run the command:
          make

        To install the products run the command:
          make install

        This will install the products into your DJGPP directory tree specified
        by the value of DJDIR.  If you prefer to install into some other dir,
        then run the following command:
          make install prefix=z:/some/other/dir

        This will install the products into the directory specified by the value
        of prefix.

3.4.:   If for some reason you want to reconfigure the package, change into the
        top srcdir (diffutil.30), delete the config.cache file located in the
        djgpp subdir and run the following commands:
          make distclean
          djgpp\config

        Please note that you MUST delete the config.cache file or you will not
        be reconfiguring your package 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\diffutil.30\djgpp\config x:/src/gnu/diffutil.30

        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\diffutil.30\djgpp\config x:/src/gnu/diffutil.30




        Send diffutils specific bug reports to <bug-diffutils@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>
