diff -rc grep-2.0-fsf/INSTALL grep-2.0-amiga/INSTALL *** grep-2.0-fsf/INSTALL Mon Sep 28 02:56:25 1992 --- grep-2.0-amiga/INSTALL Wed Feb 23 17:26:59 1994 *************** *** 32,39 **** source code in `..' if it does not find it in the current directory. By default, `make install' will install the package's files in ! /usr/local/bin, /usr/local/lib, /usr/local/man, etc. You can specify ! an installation prefix other than /usr/local by giving `configure' the option `--prefix=PATH'. Alternately, you can do so by changing the `prefix' variable in the Makefile that `configure' creates (the Makefile in the top-level directory, if the package contains --- 32,39 ---- source code in `..' if it does not find it in the current directory. By default, `make install' will install the package's files in ! /gnu/bin, /gnu/lib, /gnu/man, etc. You can specify ! an installation prefix other than /gnu by giving `configure' the option `--prefix=PATH'. Alternately, you can do so by changing the `prefix' variable in the Makefile that `configure' creates (the Makefile in the top-level directory, if the package contains diff -rc grep-2.0-fsf/Makefile.in grep-2.0-amiga/Makefile.in *** grep-2.0-fsf/Makefile.in Sun May 2 20:54:24 1993 --- grep-2.0-amiga/Makefile.in Wed Feb 23 17:21:33 1994 *************** *** 43,52 **** LIBS=@LIBS@ ALLOCA=@ALLOCA@ ! CFLAGS=-O ! LDFLAGS=$(CFLAGS) ! prefix=/usr/local exec_prefix=$(prefix) # Prefix for installed program, normally empty or `g'. --- 43,52 ---- LIBS=@LIBS@ ALLOCA=@ALLOCA@ ! CFLAGS=-O2 ! LDFLAGS= ! prefix=/gnu exec_prefix=$(prefix) # Prefix for installed program, normally empty or `g'. diff -rc grep-2.0-fsf/configure grep-2.0-amiga/configure *** grep-2.0-fsf/configure Sat May 22 04:20:23 1993 --- grep-2.0-amiga/configure Wed Feb 23 17:39:04 1994 *************** *** 97,103 **** srcdirdefaulted=yes # Try the directory containing this script, then `..'. prog=$0 ! confdir=`echo $prog|sed 's%/[^/][^/]*$%%'` test "X$confdir" = "X$prog" && confdir=. srcdir=$confdir if test ! -r $srcdir/$unique_file; then --- 97,103 ---- srcdirdefaulted=yes # Try the directory containing this script, then `..'. prog=$0 ! confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'` test "X$confdir" = "X$prog" && confdir=. srcdir=$confdir if test ! -r $srcdir/$unique_file; then *************** *** 172,178 **** echo checking for POSIXized ISC if test -d /etc/conf/kconfig.d && ! grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then ISC=1 # If later tests want to check for ISC. { --- 172,178 ---- echo checking for POSIXized ISC if test -d /etc/conf/kconfig.d && ! grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1 then ISC=1 # If later tests want to check for ISC. { *************** *** 747,753 **** s%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%\ exec_prefix\\1=\\2$exec_prefix%" fi ! DEFS="`echo \"$DEFS\" | sed 's%[&\\\]%\\\&%g'`" trap 'rm -f config.status; exit 1' 1 3 15 echo creating config.status --- 747,753 ---- s%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%\ exec_prefix\\1=\\2$exec_prefix%" fi ! DEFS="`/bin/echo $DEFS | sed 's%[&\\\]%\\\&%g'`" trap 'rm -f config.status; exit 1' 1 3 15 echo creating config.status Only in grep-2.0-amiga: configure! diff -rc grep-2.0-fsf/dfa.h grep-2.0-amiga/dfa.h *** grep-2.0-fsf/dfa.h Sun Apr 11 21:17:22 1993 --- grep-2.0-amiga/dfa.h Wed Feb 23 17:20:03 1994 *************** *** 23,35 **** --- 23,39 ---- name space. */ /* Number of bits in an unsigned char. */ + #ifndef CHARBITS #define CHARBITS 8 + #endif /* First integer value that is greater than any character code. */ #define NOTCHAR (1 << CHARBITS) /* INTBITS need not be exact, just a lower bound. */ + #ifndef INTBITS #define INTBITS (CHARBITS * sizeof (int)) + #endif /* Number of ints required to hold a bit for every character. */ #define CHARCLASS_INTS ((NOTCHAR + INTBITS - 1) / INTBITS) diff -rc grep-2.0-fsf/grep.c grep-2.0-amiga/grep.c *** grep-2.0-fsf/grep.c Sun May 23 05:52:52 1993 --- grep-2.0-amiga/grep.c Wed Feb 23 17:29:10 1994 *************** *** 40,46 **** #else #include #ifdef __STDC__ ! extern void *memchr(); #else extern char *memchr(); #endif --- 40,46 ---- #else #include #ifdef __STDC__ ! extern void *memchr(void *, int, size_t); #else extern char *memchr(); #endif