[comp.protocols.appletalk] Patch for Cap6.0 for Mips using bsd environment

nadmin@mercury (News Administration) (04/10/91)

The following is a patch to be applied in the top level directory
of the Cap6.0 distribution.  This allows you to properly configure
and compile in the bsd environment on a Mips machine.  It has been
tested on a Mips M-120 running o/s 4.51.  


Jason Walters                           University of Regina
Systems Manager                         Regina, Saskatchewan,Canada
Computer Science Department             (306)585-4977
walter@mercury.uregina.ca               regina!mercury!walter

** my opinions are my own...etc...etc....  **
--------------------------------------------------------------

*** Configure.orig	Wed Mar 13 03:32:34 1991
--- Configure	Tue Apr  9 20:53:16 1991
***************
*** 632,640 ****
  	${PNM} /lib/386/Slibsocket.a	>> /tmp/cx$$
  	;;
  *)
! 	if [ -f /lib/libc.a ]; then
! 	  echo "Getting name list from /lib/libc.a..."
! 	  ${PNM} /lib/libc.a > /tmp/cx$$
  	else
  	  if [ -f /usr/lib/libc.a ]; then
  	    echo "Getting name list from /usr/lib/libc.a..."
--- 632,640 ----
  	${PNM} /lib/386/Slibsocket.a	>> /tmp/cx$$
  	;;
  *)
! 	if [ -f /bsd43/usr/lib/libc.a ]; then
! 	  echo "Getting name list from /bsd43/usr/lib/libc.a..."
! 	  ${PNM} -B /bsd43/usr/lib/libc.a > /tmp/cx$$
  	else
  	  if [ -f /usr/lib/libc.a ]; then
  	    echo "Getting name list from /usr/lib/libc.a..."
*** conf.func.lst.orig	Wed Mar 13 03:56:01 1991
--- conf.func.lst	Tue Apr  9 20:39:22 1991
***************
*** 7,27 ****
  # fill empty fields with x -- some machines strip extra IFS's
  N+-,GETOPT,x,getopt,"cap: argument processing"
  E,GETOPT,x,x,"cap: will use public domain getopt"
! N+-,GETMNT,/usr/include/sys/mount.h,getmnt,"aufs: info on file systems (dec)"
! N+-,STATFS,/usr/include/sys/vfs.h,statfs,"aufs: info on file systems (sun nfs)"
  E,GETOPT,x,x,"aufs: no space information on volumes will be available"
! N+-,QUOTA,/usr/include/sys/quota.h,quota,"aufs: info on user quota"
  E,QUOTA,x,x,"aufs: no information on user quotas"
! A+,SUNQUOTA,/usr/include/ufs/quota.h,quotactl,"aufs: info on user quota"
! N+-,SUNQUOTA,/usr/include/mntent.h,getmntent,"aufs: used by sunquota"
  E,SUNQUOTA,x,x,"aufs: not using sunquota system"
! N+-,FLOCK,/usr/include/sys/file.h,flock,"afp: file locking"
  E,FLOCK,x,x,"afp: don't run with multiple writes on a volume: no file locking"
! N+-,LOCKF,/usr/include/unistd.h,lockf,"afp: byte range locking using unistd.h"
! N+-,FCNTLLOCKF,/usr/include/fcntl.h,lockf,"afp: byte range locking using fcntl.h"
  E,LOCKF,x,x,"afp: don't run with multiple writes on a volume: no byte range lock"
! A+,VPRINTF,/usr/include/varargs.h,vprintf,"cap: variable arg printf"
! N+-,VPRINTF,/usr/include/varargs.h,vfprintf,"cap: variable arg fprintf"
  E,VPRINTF,x,x,"cap: no vprintf available, will do the best we can"
  N-+,NORECVMSG,x,recvmsg,"cap: lib: scatter gather recv"
  E,NORECVMSG,x,x,"cap: lib: no recvmsg in system"
--- 7,27 ----
  # fill empty fields with x -- some machines strip extra IFS's
  N+-,GETOPT,x,getopt,"cap: argument processing"
  E,GETOPT,x,x,"cap: will use public domain getopt"
! N+-,GETMNT,/bsd43/usr/include/sys/mount.h,getmnt,"aufs: info on file systems (dec)"
! N+-,STATFS,/bsd43/usr/include/sys/vfs.h,statfs,"aufs: info on file systems (sun nfs)"
  E,GETOPT,x,x,"aufs: no space information on volumes will be available"
! N+-,QUOTA,/bsd43/usr/include/sys/quota.h,quota,"aufs: info on user quota"
  E,QUOTA,x,x,"aufs: no information on user quotas"
! A+,SUNQUOTA,/bsd43/usr/include/ufs/quota.h,quotactl,"aufs: info on user quota"
! N+-,SUNQUOTA,/bsd43/usr/include/mntent.h,getmntent,"aufs: used by sunquota"
  E,SUNQUOTA,x,x,"aufs: not using sunquota system"
! N+-,FLOCK,/bsd43/usr/include/sys/file.h,flock,"afp: file locking"
  E,FLOCK,x,x,"afp: don't run with multiple writes on a volume: no file locking"
! N+-,LOCKF,/bsd43/usr/include/unistd.h,lockf,"afp: byte range locking using unistd.h"
! N+-,FCNTLLOCKF,/bsd43/usr/include/fcntl.h,lockf,"afp: byte range locking using fcntl.h"
  E,LOCKF,x,x,"afp: don't run with multiple writes on a volume: no byte range lock"
! A+,VPRINTF,/bsd43/usr/include/varargs.h,vprintf,"cap: variable arg printf"
! N+-,VPRINTF,/bsd43/usr/include/varargs.h,vfprintf,"cap: variable arg fprintf"
  E,VPRINTF,x,x,"cap: no vprintf available, will do the best we can"
  N-+,NORECVMSG,x,recvmsg,"cap: lib: scatter gather recv"
  E,NORECVMSG,x,x,"cap: lib: no recvmsg in system"