diff -rc tar-1.11.2-fsf/INSTALL tar-1.11.2-amiga/INSTALL *** tar-1.11.2-fsf/INSTALL Fri Jan 22 17:16:53 1993 --- tar-1.11.2-amiga/INSTALL Thu Feb 24 12:21:19 1994 *************** *** 33,40 **** DIR is the directory that contains the source code. 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 giving a value for the `prefix' variable when you run `make', e.g., make prefix=/usr/gnu --- 33,40 ---- DIR is the directory that contains the source code. 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 giving a value for the `prefix' variable when you run `make', e.g., make prefix=/usr/gnu diff -rc tar-1.11.2-fsf/Makefile.in tar-1.11.2-amiga/Makefile.in *** tar-1.11.2-fsf/Makefile.in Thu Mar 25 18:59:26 1993 --- tar-1.11.2-amiga/Makefile.in Thu Feb 24 12:21:05 1994 *************** *** 74,83 **** RTAPELIB = @RTAPELIB@ LIBS = @LIBS@ ! CFLAGS = -g ! LDFLAGS = -g ! prefix = /usr/local exec_prefix = $(prefix) # Prefix for each installed program, normally empty or `g'. --- 74,83 ---- RTAPELIB = @RTAPELIB@ LIBS = @LIBS@ ! CFLAGS = -O2 ! LDFLAGS = ! prefix = /gnu exec_prefix = $(prefix) # Prefix for each installed program, normally empty or `g'. *************** *** 87,93 **** bindir = $(exec_prefix)/bin # Where to put the rmt executable. ! libdir = /etc # The directory to install the info files in. infodir = $(prefix)/info --- 87,93 ---- bindir = $(exec_prefix)/bin # Where to put the rmt executable. ! libdir = /gnu/etc # The directory to install the info files in. infodir = $(prefix)/info diff -rc tar-1.11.2-fsf/buffer.c tar-1.11.2-amiga/buffer.c *** tar-1.11.2-fsf/buffer.c Fri Mar 19 20:05:11 1993 --- tar-1.11.2-amiga/buffer.c Thu Feb 24 12:18:09 1994 *************** *** 61,67 **** /* Either stdout or stderr: The thing we write messages (standard msgs, not errors) to. Stdout unless we're writing a pipe, in which case stderr */ ! FILE *msg_file = stdout; #define STDIN 0 /* Standard input file descriptor */ #define STDOUT 1 /* Standard output file descriptor */ --- 61,67 ---- /* Either stdout or stderr: The thing we write messages (standard msgs, not errors) to. Stdout unless we're writing a pipe, in which case stderr */ ! FILE *msg_file; #define STDIN 0 /* Standard input file descriptor */ #define STDOUT 1 /* Standard output file descriptor */ diff -rc tar-1.11.2-fsf/configure tar-1.11.2-amiga/configure *** tar-1.11.2-fsf/configure Wed Feb 3 20:43:37 1993 --- tar-1.11.2-amiga/configure Thu Feb 24 14:20:37 1994 *************** *** 89,95 **** 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 --- 89,95 ---- 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 *************** *** 277,283 **** 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. DEFS="$DEFS -D_POSIX_SOURCE=1" --- 277,283 ---- 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. DEFS="$DEFS -D_POSIX_SOURCE=1" *************** *** 459,473 **** #include EOF err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"` ! if test -z "$err"; then PROGS="$PROGS rmt" fi rm -f conftest* fi echo checking for remote shell ! if test -f /usr/ucb/rsh || test -f /usr/bin/remsh || test -f /usr/bin/rsh || ! test -f /usr/bsd/rsh || test -f /usr/bin/nsh; then RTAPELIB=rtapelib.o else echo checking for netdb.h --- 459,474 ---- #include EOF err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"` ! # Suppress building rmt, even though the above succeeds on the Amiga, the ! # link fails due to an unresolved call to setsockopt(). -fnf ! if false && test -z "$err"; then PROGS="$PROGS rmt" fi rm -f conftest* fi echo checking for remote shell ! if test -f /gnu/bin/remsh || test -f /gnu/bin/rsh || test -f /gnu/bin/nsh; then RTAPELIB=rtapelib.o else echo checking for netdb.h *************** *** 475,487 **** #include EOF err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"` ! if test -z "$err"; then DEFS="$DEFS -DHAVE_NETDB_H=1" RTAPELIB=rtapelib.o else DEFS="$DEFS -DNO_REMOTE=1" fi rm -f conftest* - fi echo checking for ANSI C header files --- 476,489 ---- #include EOF err=`eval "$CPP $DEFS conftest.c 2>&1 >/dev/null"` ! # Suppres use of rtapelib.o since it references getservbyname() and rexec(), ! # which are unresolved at link time. ! if false && test -z "$err"; then DEFS="$DEFS -DHAVE_NETDB_H=1" RTAPELIB=rtapelib.o else DEFS="$DEFS -DNO_REMOTE=1" fi rm -f conftest* fi echo checking for ANSI C header files *************** *** 563,568 **** --- 565,571 ---- # This might guess wrong, but it's not very important. for dev in rmt8 rmt0 rmt0h rct0 rst0 tape rct/c7d0s2 do + break # Hack - disable for AmigaDOS to prevent "dev:" requesters. -fnf if test -n "`ls /dev/$dev 2>/dev/null`"; then DEF_AR_FILE=/dev/$dev break *************** *** 571,576 **** --- 574,581 ---- if test -z "$DEF_AR_FILE"; then DEF_AR_FILE=- fi + # Hack - force default archive to be tape: for AmigaDOS. -fnf + DEF_AR_FILE="tape:" for func in strstr valloc mkdir mknod rename ftruncate ftime getcwd do *************** *** 671,679 **** fi echo checking for BSD ! ( test -f /vmunix || test -f /sdmach || test -f /../../mach ) && DEFS="$DEFS -DBSD42=1" echo checking for HP-UX ! test -f /hp-ux && test ! -f /vmunix && MALLOC=malloc.o echo checking for Xenix cat > conftest.c < conftest.c <