home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / grep-2.0-src.lha / src / diffs / grep-2.0.diffs
Encoding:
Text File  |  1994-02-23  |  4.4 KB  |  147 lines

  1. diff -rc grep-2.0-fsf/INSTALL grep-2.0-amiga/INSTALL
  2. *** grep-2.0-fsf/INSTALL    Mon Sep 28 02:56:25 1992
  3. --- grep-2.0-amiga/INSTALL    Wed Feb 23 17:26:59 1994
  4. ***************
  5. *** 32,39 ****
  6.   source code in `..' if it does not find it in the current directory.
  7.   
  8.   By default, `make install' will install the package's files in
  9. ! /usr/local/bin, /usr/local/lib, /usr/local/man, etc.  You can specify
  10. ! an installation prefix other than /usr/local by giving `configure' the
  11.   option `--prefix=PATH'.  Alternately, you can do so by changing the
  12.   `prefix' variable in the Makefile that `configure' creates (the
  13.   Makefile in the top-level directory, if the package contains
  14. --- 32,39 ----
  15.   source code in `..' if it does not find it in the current directory.
  16.   
  17.   By default, `make install' will install the package's files in
  18. ! /gnu/bin, /gnu/lib, /gnu/man, etc.  You can specify
  19. ! an installation prefix other than /gnu by giving `configure' the
  20.   option `--prefix=PATH'.  Alternately, you can do so by changing the
  21.   `prefix' variable in the Makefile that `configure' creates (the
  22.   Makefile in the top-level directory, if the package contains
  23. diff -rc grep-2.0-fsf/Makefile.in grep-2.0-amiga/Makefile.in
  24. *** grep-2.0-fsf/Makefile.in    Sun May  2 20:54:24 1993
  25. --- grep-2.0-amiga/Makefile.in    Wed Feb 23 17:21:33 1994
  26. ***************
  27. *** 43,52 ****
  28.   LIBS=@LIBS@
  29.   ALLOCA=@ALLOCA@
  30.   
  31. ! CFLAGS=-O
  32. ! LDFLAGS=$(CFLAGS)
  33.   
  34. ! prefix=/usr/local
  35.   exec_prefix=$(prefix)
  36.   
  37.   # Prefix for installed program, normally empty or `g'.
  38. --- 43,52 ----
  39.   LIBS=@LIBS@
  40.   ALLOCA=@ALLOCA@
  41.   
  42. ! CFLAGS=-O2
  43. ! LDFLAGS=
  44.   
  45. ! prefix=/gnu
  46.   exec_prefix=$(prefix)
  47.   
  48.   # Prefix for installed program, normally empty or `g'.
  49. diff -rc grep-2.0-fsf/configure grep-2.0-amiga/configure
  50. *** grep-2.0-fsf/configure    Sat May 22 04:20:23 1993
  51. --- grep-2.0-amiga/configure    Wed Feb 23 17:39:04 1994
  52. ***************
  53. *** 97,103 ****
  54.     srcdirdefaulted=yes
  55.     # Try the directory containing this script, then `..'.
  56.     prog=$0
  57. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  58.     test "X$confdir" = "X$prog" && confdir=.
  59.     srcdir=$confdir
  60.     if test ! -r $srcdir/$unique_file; then
  61. --- 97,103 ----
  62.     srcdirdefaulted=yes
  63.     # Try the directory containing this script, then `..'.
  64.     prog=$0
  65. !   confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  66.     test "X$confdir" = "X$prog" && confdir=.
  67.     srcdir=$confdir
  68.     if test ! -r $srcdir/$unique_file; then
  69. ***************
  70. *** 172,178 ****
  71.   
  72.   echo checking for POSIXized ISC
  73.   if test -d /etc/conf/kconfig.d &&
  74. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  75.   then
  76.     ISC=1 # If later tests want to check for ISC.
  77.     {
  78. --- 172,178 ----
  79.   
  80.   echo checking for POSIXized ISC
  81.   if test -d /etc/conf/kconfig.d &&
  82. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  83.   then
  84.     ISC=1 # If later tests want to check for ISC.
  85.     {
  86. ***************
  87. *** 747,753 ****
  88.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%\
  89.   exec_prefix\\1=\\2$exec_prefix%"
  90.   fi
  91. ! DEFS="`echo \"$DEFS\" | sed 's%[&\\\]%\\\&%g'`"
  92.   
  93.   trap 'rm -f config.status; exit 1' 1 3 15
  94.   echo creating config.status
  95. --- 747,753 ----
  96.   s%^exec_prefix\\([     ]*\\)=\\([     ]*\\).*$%\
  97.   exec_prefix\\1=\\2$exec_prefix%"
  98.   fi
  99. ! DEFS="`/bin/echo $DEFS | sed 's%[&\\\]%\\\&%g'`"
  100.   
  101.   trap 'rm -f config.status; exit 1' 1 3 15
  102.   echo creating config.status
  103. Only in grep-2.0-amiga: configure!
  104. diff -rc grep-2.0-fsf/dfa.h grep-2.0-amiga/dfa.h
  105. *** grep-2.0-fsf/dfa.h    Sun Apr 11 21:17:22 1993
  106. --- grep-2.0-amiga/dfa.h    Wed Feb 23 17:20:03 1994
  107. ***************
  108. *** 23,35 ****
  109. --- 23,39 ----
  110.      name space. */
  111.   
  112.   /* Number of bits in an unsigned char. */
  113. + #ifndef CHARBITS
  114.   #define CHARBITS 8
  115. + #endif
  116.   
  117.   /* First integer value that is greater than any character code. */
  118.   #define NOTCHAR (1 << CHARBITS)
  119.   
  120.   /* INTBITS need not be exact, just a lower bound. */
  121. + #ifndef INTBITS
  122.   #define INTBITS (CHARBITS * sizeof (int))
  123. + #endif
  124.   
  125.   /* Number of ints required to hold a bit for every character. */
  126.   #define CHARCLASS_INTS ((NOTCHAR + INTBITS - 1) / INTBITS)
  127. diff -rc grep-2.0-fsf/grep.c grep-2.0-amiga/grep.c
  128. *** grep-2.0-fsf/grep.c    Sun May 23 05:52:52 1993
  129. --- grep-2.0-amiga/grep.c    Wed Feb 23 17:29:10 1994
  130. ***************
  131. *** 40,46 ****
  132.   #else
  133.   #include <strings.h>
  134.   #ifdef __STDC__
  135. ! extern void *memchr();
  136.   #else
  137.   extern char *memchr();
  138.   #endif
  139. --- 40,46 ----
  140.   #else
  141.   #include <strings.h>
  142.   #ifdef __STDC__
  143. ! extern void *memchr(void *, int, size_t);
  144.   #else
  145.   extern char *memchr();
  146.   #endif
  147.