home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
jove-4.16-diffs.gz
/
jove-4.16-diffs
Wrap
Text File
|
1996-10-13
|
100KB
|
2,862 lines
This file contains patches that transform the baseline version into
the amiga version. Assuming that you have unarchived the baseline
version in the current directory, just run the command:
patch -p1 -E -b .pbak <diff-file
where 'diff-file' is this patch file. After running patch you should
remove all the generated *.pbak files, and look for any *.rej files
that indicate a problem patching the baseline source.
diff -rup --new-file baseline/bsd/jove/Makefile amiga/bsd/jove/Makefile
--- baseline/bsd/jove/Makefile Mon Mar 18 21:44:33 1996
+++ amiga/bsd/jove/Makefile Wed Dec 31 17:00:00 1969
@@ -1,601 +0,0 @@
-########################################################################
-# This program is Copyright (C) 1986-1996 by Jonathan Payne. JOVE is #
-# provided to you without charge, and with no warranty. You may give #
-# away copies of JOVE, including sources, provided that this notice is #
-# included in all the files. #
-########################################################################
-
-# TMPDIR is where the tmp files get stored, usually /tmp or /usr/tmp. If
-# your system, or reboot, removes files in /tmp, but not those in /usr/tmp,
-# then it makes sense to make TMPDIR be /usr/tmp.
-# But if you want to recover buffers on system crashes, you should create a
-# directory that doesn't get cleaned upon reboot, and use that instead.
-# You would probably want to clean out that directory periodically with
-# /etc/cron.
-# RECDIR is the directory in which RECOVER looks for JOVE's tempfiles.
-#
-# JOVEHOME is the directory in which pieces of JOVE are kept. It is only used
-# in the default definitions of SHAREDIR, LIBDIR, BINDIR, and MANDIR.
-# SHAREDIR is for online documentation, and the system-wide jove.rc file.
-# LIBDIR is for the PORTSRV and RECOVER programs.
-# BINDIR is where to put the executables JOVE and TEACHJOVE.
-# MANDIR is where the manual pages go for JOVE, RECOVER and TEACHJOVE.
-# MANEXT is the extension for the man pages, e.g., jove.1 or jove.l or jove.m.
-# DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE.
-#
-# If they don't exist, this makefile will try to create the directories
-# LIBDIR and SHAREDIR. All others must already exist.
-
-SHELL = /bin/sh
-TMPDIR = /usr/tmp
-RECDIR = /usr/preserve
-
-JOVEHOME = /usr/local
-SHAREDIR = $(JOVEHOME)/lib/jove
-LIBDIR = $(JOVEHOME)/lib/jove
-BINDIR = $(JOVEHOME)/bin
-MANDIR = $(JOVEHOME)/man/man$(MANEXT)
-MANEXT = 1
-DFLTSHELL = /bin/csh
-
-# The install commands of BSD and System V differ in unpleasant ways:
-# -c: copy (BSD); -c dir: destination directory (SysV)
-# -s: strip (BSD); -s: suppress messages (SysV)
-# Also, the destination specification is very different.
-# The result is that the System V install command must not be used.
-# If you know that /bin/install is the BSD program, you can use it.
-# "cp" will work reasonably well, but be aware that any links continue
-# referencing the old file with new contents.
-
-INSTALLFLAGS = # -g bin -o root
-
-# to install executable files
-XINSTALL=cp
-#XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s
-
-# to install text files
-TINSTALL=cp
-#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
-
-# These should all just be right if the above ones are.
-# You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
-
-JOVE = $(BINDIR)/jove
-TEACHJOVE = $(BINDIR)/teachjove
-RECOVER = $(LIBDIR)/recover
-PORTSRV = $(LIBDIR)/portsrv
-JOVERC = $(SHAREDIR)/jove.rc
-TERMSDIR = $(SHAREDIR)
-CMDS.DOC = $(SHAREDIR)/cmds.doc
-TEACH-JOVE = $(SHAREDIR)/teach-jove
-JOVEM = $(MANDIR)/jove.$(MANEXT)
-TEACHJOVEM = $(MANDIR)/teachjove.$(MANEXT)
-XJOVEM = $(MANDIR)/xjove.$(MANEXT)
-JOVETOOLM = $(MANDIR)/jovetool.$(MANEXT)
-
-# Select optimization level (flags passed to compiling and linking steps).
-# On most systems, -g for debugging, -O for optimization.
-# On the official Sun ANSI C compiler and the standard System V Release 4
-# compiler, adding -Xa -v will increase compiler checking.
-# On DEC OSF/1, -std1 -O
-
-OPTFLAGS = -O
-
-# For making dependencies under BSD systems
-DEPENDFLAG = -M
-# or, using the official Sun ANSI C compiler
-# DEPENDFLAG = -xM
-
-# Select the right libraries for your system.
-# 2.10BSD:LIBS = -ltermcap
-# v7: LIBS = -ltermcap
-# 4.1BSD: LIBS = -ltermcap -ljobs
-# 4.2BSD: LIBS = -ltermcap
-# 4.3BSD: LIBS = -ltermcap
-# SysV Rel. 2: LIBS = -lcurses
-# SCO Xenix: LIBS = -ltermcap -lx
-# SCO: LIBS = -lcurses
-# AIX on the R6000s: LIBS = -lcurses -ltermcap -ls
-# MIPS: LIBS = -ltermcap
-
-LIBS = -ltermcap
-
-# 2.10BSD:LDFLAGS =
-# v7: LDFLAGS =
-# 4.1BSD: LDFLAGS =
-# 4.2BSD: LDFLAGS =
-# 4.3BSD: LDFLAGS =
-# SysV Rel. 2: LDFLAGS = -Ml
-# SCO Xenix: LDFLAGS = -Ml -F 3000
-# SCO Unix: LDFLAGS =
-# AIX Unix: LDFLAGS = -bloadmap:$@.map # only if loadmap
-#
-# To optimize the use of the address spaces, add to the LDFLAGS:
-# PDP-11 with separate I&D: -i
-# PDP-11 without separate I&D: -n
-
-
-LDFLAGS =
-
-# define a symbol for your OS if it hasn't got one. See sysdep.h.
-# Jove has very few defaults, you will almost certainly need to define
-# *something*.
-#
-# Apple A/UX on macIIs SYSDEFS=-DA_UX
-# BSD4.2,4.3 SYSDEFS=-DBSD4
-# BSDI, 386BSD, BSD4.4 SYSDEFS=-DBSDPOSIX
-# Consensys V4 SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
-# DEC OSF R1.3MK SYSDEFS=-DSYSVR4
-# DEC OSF/1 V1.3 SYSDEFS=-BSDPOSIX -DNO_TIOCREMOTE -DNO_TIOCSIGNAL
-# DEC OSF/1 V2.0 and later SYSDEFS=-DSYSVR4
-# DEC Ultrix 4.2 SYSDEFS=-DBSDPOSIX
-# DEC Ultrix 4.3 SYSDEFS=-DBSDPOSIX -DJVDISABLE=255
-# DG AViiON 5.3R4 SYSDEFS=-DSYSVR4 -DBSD_SIGS
-# HP/UX 8 or 9 SYSDEFS=-DHPUX -Ac
-# IBM RS6000s SYSDEFS=-DAIX3_2
-# Irix 3.3-4.0.5 SYSDEFS=-DIRIX -DIRIX4
-# Irix 5.0 onwards SYSDEFS=-DIRIX -prototypes
-# LINUX SYSDEFS=-DBSDPOSIX
-# MIPS RiscOS4.x SYSDEFS=-systype bsd43 -DBSD4
-# SCO Unix SYSDEFS=-DSCO
-# SunOS3.x SYSDEFS=-DSUNOS3
-# SunOS4.0* SYSDEFS=-DSUNOS40
-# SunOS4.1* SYSDEFS=-DSUNOS41
-# SunOS5.0/Solaris 2.0 SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
-# SunOS5.[1234]/Solaris 2.[1234] SYSDEFS=-DSYSVR4
-# Sys III, Sys V R 2,3 SYSDEFS=-DSYSV
-# Sys V Release 4.0 SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
-# Sys V Release 4.? SYSDEFS=-DSYSVR4
-#
-# Some systems based on System V release 4 have a bug affecting interactive
-# processes. This bug can be worked around by defining GRANTPT_BUG.
-# Read the explanation of GRANTPT_BUG in sysdep.doc.
-#
-# Some of the MIPS based Ultrix (upto 4.2 at least), RiscOS and Irix (up to
-# 3.3 at least) also need -DMIPS_CC_BUG.
-#
-# Some (all?) versions of the HPUX C compiler have a bug in handling forward
-# struct tag declarations. Using the -Ac flag in place of -Ae will avoid
-# this problem (and reduce the compiler's error checking, unfortunately).
-#
-# Add -DUSE_EXIT if you're profiling or using purify (this causes Jove
-# to exit using exit(), instead of _exit()).
-#
-# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
-
-SYSDEFS =
-
-# for SCO Xenix, set
-# MEMFLAGS = -Mle
-# CFLAGS = -LARGE -O -F 3000 -K -Mle (say -Mle2 for an 80286)
-
-CFLAGS = $(OPTFLAGS) $(SYSDEFS)
-
-# For SYSVR4 (/usr/ucb/cc will NOT work because of setjmp.h):
-# CC = /usr/bin/cc
-# To use the SunPro compiler under SunOS 4.n:
-# CC = acc
-# To use the official Sun compiler under Solaris 2.n:
-# CC = /opt/SUNWspro/bin/cc
-# For DG AViiON, expect compile errors unless you use the GNU C compiler:
-# CC=gcc
-
-# Load invocation of cc.
-# LDCC = purify $(CC)
-
-LDCC = $(CC)
-
-# For cross compiling Jove, set CC to the cross compiler, and LOCALCC
-# to the local C compiler. LOCALCC will be used for compiling setmaps,
-# which is run as part of the compilation to generate the keymaps.
-# Set LOCALCFLAGS and LOCALLDFLAGS appropriately too. For Xenix, note
-# that LOCALCFLAGS must be set to $(MEMFLAGS)
-
-LOCALCC = $(CC)
-LOCALCFLAGS = $(CFLAGS) # $(MEMFLAGS)
-LOCALLDFLAGS = $(LDFLAGS)
-
-# Objects are grouped into overlays for the benefit of (at least) 2.xBSD.
-
-BASESEG = commands.o keys.o argcount.o ask.o buf.o jctype.o delete.o \
- disp.o insert.o io.o jove.o marks.o misc.o re.o \
- screen.o termcap.o unix.o util.o vars.o list.o keymaps.o \
- mouse.o
-OVLAY1 = abbrev.o rec.o paragraph.o fmt.o
-OVLAY2 = c.o wind.o fp.o move.o
-OVLAY3 = extend.o macros.o
-OVLAY4 = iproc.o reapp.o
-OVLAY5 = proc.o scandir.o term.o case.o
-
-OBJECTS = $(BASESEG) $(OVLAY1) $(OVLAY2) $(OVLAY3) $(OVLAY4) $(OVLAY5)
-
-NROFF = nroff
-TROFF = troff -Tpost
-TROFFPOST = | /usr/lib/lp/postscript/dpost - >troff.out.ps
-
-MANUALS = $(JOVEM) $(TEACHJOVEM) $(XJOVEM) $(JOVETOOLM)
-
-C_SRC = commands.c commands.tab abbrev.c argcount.c ask.c buf.c c.c case.c jctype.c \
- delete.c disp.c extend.c fp.c fmt.c insert.c io.c iproc.c \
- jove.c list.c macros.c marks.c misc.c move.c paragraph.c \
- proc.c re.c reapp.c rec.c scandir.c screen.c term.c termcap.c unix.c \
- util.c vars.c vars.tab wind.c msgetch.c mac.c keymaps.c ibmpcdos.c \
- mouse.c win32.c
-
-SOURCES = $(C_SRC) portsrv.c recover.c setmaps.c teachjove.c
-
-HEADERS = abbrev.h argcount.h ask.h buf.h c.h case.h chars.h commands.h \
- jctype.h dataobj.h delete.h disp.h extend.h externs.h \
- fmt.h fp.h insert.h io.h iproc.h jove.h \
- keymaps.h list.h mac.h macros.h marks.h \
- misc.h mouse.h move.h paragraph.h proc.h \
- re.h reapp.h rec.h recover.h resource.h scandir.h screen.h \
- select.h sysdep.h sysprocs.h temp.h term.h ttystate.h \
- tune.h util.h vars.h version.h wind.h
-
-DOCTERMS = doc/jove.rc.sun doc/keychart.sun \
- doc/jove.rc.sun-cmd doc/keychart.sun-cmd \
- doc/jove.rc.vt100 doc/keychart.vt100 \
- doc/jove.rc.wyse doc/keychart.wyse \
- doc/jove.rc.xterm doc/keychart.xterm \
- doc/jove.rc.z29 doc/keychart.z29 \
- doc/jove.rc.3022 doc/keychart.3022 \
- doc/keychart. \
- doc/XTermresource
-
-DOCS = doc/README doc/teach-jove doc/jove.qref \
- doc/intro.nr doc/cmds.macros.nr doc/cmds.nr doc/contents.nr \
- doc/jove.nr doc/teachjove.nr doc/xjove.nr doc/jovetool.nr \
- doc/jove.rc doc/example.rc $(DOCTERMS)
-
-MISC = Makefile Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
- README README.dos README.mac README.w32 sysdep.doc tune.doc
-
-SUPPORT = teachjove.c recover.c setmaps.c portsrv.c keys.txt \
- menumaps.txt mjovers.Hqx jjoveico.uue jjove.rc
-
-BACKUPS = $(HEADERS) $(C_SRC) $(SUPPORT) $(MISC)
-
-all: jjove recover teachjove portsrv doc/cmds.doc
-
-jjove: $(OBJECTS)
- $(LDCC) $(LDFLAGS) $(OPTFLAGS) -o jjove $(OBJECTS) $(LIBS)
- @-size jjove
-
-# For 2.xBSD: link jove as a set of overlays. Not tested recently.
-
-ovjove: $(OBJECTS)
- ld $(LDFLAGS) $(OPTFLAGS) -X /lib/crt0.o \
- -Z $(OVLAY1) \
- -Z $(OVLAY2) \
- -Z $(OVLAY3) \
- -Z $(OVLAY4) \
- -Z $(OVLAY5) \
- -Y $(BASESEG) \
- -o jjove $(LIBS) -lc
- @-size jjove
-
-# portsrv is only needed if IPROCS are implemented using PIPEPROCS
-# Making PORTSRVINST null will supress building and installing portsrv.
-
-PORTSRVINST=$(PORTSRV)
-
-portsrv: portsrv.o
- $(CC) $(LDFLAGS) $(OPTFLAGS) -o portsrv portsrv.o $(LIBS)
-
-recover: recover.o
- $(CC) $(LDFLAGS) $(OPTFLAGS) -o recover recover.o $(LIBS)
-
-teachjove: teachjove.o
- $(CC) $(LDFLAGS) $(OPTFLAGS) -o teachjove teachjove.o $(LIBS)
-
-# don't optimize setmaps.c because it produces bad code in some places
-# for some reason
-
-setmaps: setmaps.o
- $(LOCALCC) $(LOCALLDFLAGS) -o setmaps setmaps.o
-
-setmaps.o: setmaps.c
- $(LOCALCC) $(LOCALCFLAGS) -c setmaps.c
-
-keys.c: setmaps keys.txt
- ./setmaps < keys.txt > keys.c
-
-keys.o: keys.c tune.h sysdep.h jove.h keymaps.h dataobj.h commands.h
-
-paths.h: Makefile
- -rm -f paths.h
- @echo "/* Changes should be made in Makefile, not to this file! */" > paths.h
- @echo "" >> paths.h
- @echo \#define TMPDIR \"$(TMPDIR)\" >> paths.h
- @echo \#define RECDIR \"$(RECDIR)\" >> paths.h
- @echo \#define LIBDIR \"$(LIBDIR)\" >> paths.h
- @echo \#define SHAREDIR \"$(SHAREDIR)\" >> paths.h
- @echo \#define DFLTSHELL \"$(DFLTSHELL)\" >> paths.h
-
-makexjove:
- ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" $(TOOLMAKEEXTRAS) xjove )
-
-installxjove:
- ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" XINSTALL="$(XINSTALL)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installxjove )
-
-makejovetool:
- ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW $(TOOLMAKEEXTRAS) jovetool )
-
-installjovetool:
- ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW XINSTALL="$(XINSTALL)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installjovetool )
-
-install: $(LIBDIR) $(SHAREDIR) \
- $(TEACH-JOVE) $(CMDS.DOC) $(TERMSDIR)docs \
- $(PORTSRVINST) $(RECOVER) $(JOVE) $(TEACHJOVE) $(MANUALS)
- $(TINSTALL) doc/jove.rc $(JOVERC)
- @echo See the README about changes to /etc/rc or /etc/rc.local
- @echo so that the system recovers jove files on reboot after a crash
-
-$(LIBDIR)::
- test -d $(LIBDIR) || mkdir $(LIBDIR)
-
-$(SHAREDIR)::
- test -d $(SHAREDIR) || mkdir $(SHAREDIR)
-
-$(TEACH-JOVE): doc/teach-jove
- $(TINSTALL) doc/teach-jove $(TEACH-JOVE)
-
-doc/cmds.doc: doc/cmds.macros.nr doc/cmds.nr
- $(NROFF) doc/cmds.macros.nr doc/cmds.nr > doc/cmds.doc
-
-doc/jove.man: doc/intro.nr doc/cmds.nr
- ( cd doc; tbl intro.nr | $(NROFF) -ms - cmds.nr >jove.man )
-
-troff-man:
- ( cd doc; tbl intro.nr | $(TROFF) -ms - cmds.nr contents.nr $(TROFFPOST) )
-
-$(CMDS.DOC): doc/cmds.doc
- $(TINSTALL) doc/cmds.doc $(CMDS.DOC)
-
-$(JOVERC): doc/jove.rc
- $(TINSTALL) doc/jove.rc $(JOVERC)
-
-$(TERMSDIR)docs: $(DOCTERMS)
- $(TINSTALL) $(DOCTERMS) $(TERMSDIR)
-
-$(PORTSRV): portsrv
- $(XINSTALL) portsrv $(PORTSRV)
-
-$(RECOVER): recover
- $(XINSTALL) recover $(RECOVER)
-
-$(JOVE): jjove
- $(XINSTALL) jjove $(JOVE)
-
-$(TEACHJOVE): teachjove
- $(XINSTALL) teachjove $(TEACHJOVE)
-
-$(JOVEM): doc/jove.nr
- @sed -e 's;<TMPDIR>;$(TMPDIR);' \
- -e 's;<LIBDIR>;$(LIBDIR);' \
- -e 's;<SHAREDIR>;$(SHAREDIR);' \
- -e 's;<SHELL>;$(DFLTSHELL);' doc/jove.nr > /tmp/jove.nr
- $(TINSTALL) /tmp/jove.nr $(JOVEM)
- rm /tmp/jove.nr
-
-# doc/jove.doc is the formatted manpage (only needed by DOS)
-# Building it should be like building $(JOVEM) except that we
-# don't know what to substitue for <TMPDIR> etc. because they
-# are not fixed yet, and because we must do the formatting.
-
-doc/jove.doc: doc/jove.nr
- $(NROFF) -man doc/jove.nr >doc/jove.doc
-
-$(TEACHJOVEM): doc/teachjove.nr
- @sed -e 's;<TMPDIR>;$(TMPDIR);' \
- -e 's;<LIBDIR>;$(LIBDIR);' \
- -e 's;<SHAREDIR>;$(SHAREDIR);' \
- -e 's;<SHELL>;$(DFLTSHELL);' doc/teachjove.nr > /tmp/teachjove.nr
- $(TINSTALL) /tmp/teachjove.nr $(TEACHJOVEM)
- rm /tmp/teachjove.nr
-
-$(XJOVEM): doc/xjove.nr
- $(TINSTALL) doc/xjove.nr $(XJOVEM)
-
-$(JOVETOOLM): doc/jovetool.nr
- @sed -e 's;<MANDIR>;$(MANDIR);' \
- -e 's;<MANEXT>;$(MANEXT);' doc/jovetool.nr > /tmp/jovetool.nr
- $(TINSTALL) /tmp/jovetool.nr $(JOVETOOLM)
- rm /tmp/jovetool.nr
-
-echo:
- @echo $(C-FILES) $(HEADERS)
-
-lint:
- lint -n $(C_SRC) keys.c
- @echo Done
-
-tags: $(C_SRC) $(HEADERS)
- ctags -w $(C_SRC) $(HEADERS)
-
-# .filelist is a trick to get around a make limit:
-# the list of files is too long to fit in a command generated by make
-# The actual contents of the file depend only on Makefile, but by
-# adding extra dependencies, dependants of .filelist can have shorter
-# dependency lists. Note: since we have no list of xjove files,
-# we alway force a make of xjove/.filelist. This forces .filelist
-# to be rebuilt every time it is needed.
-
-.filelist: $(BACKUPS) $(DOCS) .xjfilelist
- @ls $(BACKUPS) >.filelist
- @ls $(DOCS) >>.filelist
- @sed -e 's=^=xjove/=' xjove/.filelist >>.filelist
-
-.xjfilelist:
- @( cd xjove ; make .filelist )
-
-# override CIFLAGS with something like:
-# CIFLAGS="-m'some reason for change' -u4.14.10.n -q"
-
-ciall: .filelist
- ci $(CIFLAGS) `cat .filelist`
-
-coall: .filelist
- co $(BACKUPS) `cat .filelist`
-
-jove.shar: .filelist
- shar .filelist > jove.shar
-
-tar:
- @tar cvf - `find . -type f -print | \
- egrep -v '(,v|\.o|jjove|portsrv|setmaps|~)$$' | \
- sort`
-
-backup.Z: .filelist
- rm -f backup backup.Z
- tar cf backup `cat .filelist`
- compress backup
-
-backup.gz: .filelist
- rm -f backup backup.gz
- tar cf backup `cat .filelist`
- gzip backup
-
-tape-backup: .filelist
- tar cf /dev/rst8 `cat .filelist`
-
-# System V sum can be made to match BSD with a -r flag.
-# To get this effect, override with SUM = sum -r
-SUM = sum
-
-checksum: .filelist
- $(SUM) `cat .filelist`
-
-# MSDOS isn't a full-fledged development environment.
-# Preparing a distribution for MSDOS involves discarding some things
-# and pre-building others. All should have \n converted to CR LF
-# but zoo doesn't do this.
-# From SUPPORT: only setmaps.c and keys.txt [would like teachjove.c, recover.c]
-# From MISC: all but Makefile and README.mac
-# Preformatted documentation. [would like a joverc]
-# tags
-
-DOSSRC = $(HEADERS) $(C_SRC) setmaps.c keys.txt \
- Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
- README README.dos README.w32 sysdep.doc tune.doc \
- jjoveico.uue jjove.rc \
- doc/cmds.doc doc/jove.man doc/jove.doc tags
-
-jovedoss.zoo: $(DOSSRC) jjove.ico
- -rm -f jovedoss.zoo
- zoo a jovedoss.zoo $(DOSSRC) jjove.ico
-
-jovedoss.zip: $(DOSSRC) jjove.ico
- -rm -f jovedoss.zip
- zip -k jovedoss.zip jjove.ico -l $(DOSSRC)
-
-jjove.ico: jjoveico.uue
- uudecode jjoveico.uue
-
-touch:
- touch $(OBJECTS)
-
-clean:
- rm -f a.out core *.o keys.c jjove portsrv recover setmaps \
- teachjove paths.h \#* *~ make.log *.map jjove.ico \
- doc/cmds.doc doc/jove.man doc/jove.doc doc/troff.out.ps \
- jjove.pure_* tags ID .filelist
-
-cleanall: clean
- ( cd xjove ; make clean )
-
-clobber: clean
- rm -f *.orig *.rej
- ( cd xjove ; make clobber )
-
-# This version only works under 4.3BSD
-dependbsd:
- @echo '"make depend" only works under 4.3BSD'
- sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
- for i in ${SOURCES} ; do \
- $(CC) ${CFLAGS} ${DEPENDFLAG} $$i | \
- awk ' /[/]usr[/]include/ { next } \
- { if ($$1 != prev) \
- { if (rec != "") print rec; rec = $$0; prev = $$1; } \
- else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
- else rec = rec " " $$2 } } \
- END { print rec } ' >>Makefile.new; \
- done
- echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
- echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
- echo '# see "make depend" above' >>Makefile.new
- @echo 'New makefile is in "Makefile.new". Move it to "Makefile".'
-
-# This version should work with any UNIX
-# It records all dependencies, including ones that are #ifdef'ed out.
-# It assumes that only jove.h and tune.h include other headers
-
-depend:
- @sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
- for i in tune.h jove.h ${SOURCES} ; do \
- ( ( echo "$$i:"; sed -n -e 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$i ) | \
- sed -e 's/^jove\.h$$/$$(JOVE_H)/' -e 's/^tune\.h$$/$$(TUNE_H)/' \
- -e 's/^jove\.h:$$/JOVE_H = jove.h/' -e 's/^tune\.h:$$/TUNE_H = tune.h/' \
- -e 's/\.c:$$/.o:/' | \
- tr "\012" "\040" ; echo ) | sed -e 's/ $$//' -e '/:$$/d' >>Makefile.new ; \
- done
- @echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
- @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
- @echo '# see "make depend" above' >>Makefile.new
- @if cmp -s Makefile Makefile.new ; \
- then echo '*** Makefile is already up to date' ; \
- else echo '*** New makefile is in "Makefile.new". Move it to "Makefile".' ; \
- fi
-
-# DO NOT DELETE THIS LINE -- "make depend" uses it
-TUNE_H = tune.h sysdep.h
-JOVE_H = jove.h $(TUNE_H) buf.h io.h dataobj.h keymaps.h argcount.h util.h externs.h
-commands.o: $(JOVE_H) jctype.h extend.h macros.h mouse.h abbrev.h c.h case.h commands.h delete.h disp.h insert.h sysprocs.h iproc.h marks.h misc.h move.h paragraph.h proc.h reapp.h wind.h commands.tab
-abbrev.o: $(JOVE_H) fp.h jctype.h abbrev.h ask.h commands.h delete.h insert.h disp.h fmt.h move.h wind.h
-argcount.o: $(JOVE_H) jctype.h
-ask.o: $(JOVE_H) jctype.h chars.h disp.h fp.h scandir.h screen.h ask.h delete.h insert.h extend.h fmt.h marks.h move.h mac.h
-buf.o: $(JOVE_H) jctype.h disp.h ask.h extend.h fmt.h insert.h macros.h marks.h move.h sysprocs.h proc.h wind.h fp.h iproc.h mac.h
-c.o: $(JOVE_H) re.h c.h jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h
-case.o: $(JOVE_H) disp.h case.h jctype.h marks.h move.h
-jctype.o: $(JOVE_H) jctype.h
-delete.o: $(JOVE_H) jctype.h disp.h delete.h insert.h marks.h move.h
-disp.o: $(JOVE_H) jctype.h chars.h fp.h disp.h ask.h extend.h fmt.h insert.h sysprocs.h iproc.h move.h macros.h screen.h term.h wind.h mac.h
-extend.o: $(JOVE_H) fp.h jctype.h chars.h commands.h disp.h re.h ask.h extend.h fmt.h insert.h move.h sysprocs.h proc.h vars.h mac.h
-fp.o: $(JOVE_H) fp.h jctype.h disp.h fmt.h mac.h
-fmt.o: $(JOVE_H) chars.h fp.h jctype.h disp.h extend.h fmt.h mac.h
-insert.o: $(JOVE_H) jctype.h list.h chars.h disp.h abbrev.h ask.h c.h delete.h insert.h fmt.h macros.h marks.h misc.h move.h paragraph.h screen.h sysprocs.h proc.h wind.h re.h
-io.o: $(JOVE_H) list.h fp.h jctype.h disp.h scandir.h ask.h fmt.h insert.h marks.h sysprocs.h proc.h wind.h rec.h mac.h re.h temp.h
-iproc.o: $(JOVE_H) re.h jctype.h disp.h fp.h sysprocs.h iproc.h ask.h extend.h fmt.h insert.h marks.h move.h proc.h wind.h select.h ttystate.h
-jove.o: $(JOVE_H) fp.h jctype.h chars.h disp.h re.h reapp.h sysprocs.h rec.h ask.h extend.h fmt.h macros.h marks.h mouse.h paths.h proc.h screen.h term.h version.h wind.h iproc.h select.h mac.h
-list.o: $(JOVE_H) list.h
-macros.o: $(JOVE_H) jctype.h fp.h chars.h disp.h ask.h commands.h macros.h extend.h fmt.h
-marks.o: $(JOVE_H) fmt.h marks.h disp.h
-misc.o: $(JOVE_H) jctype.h disp.h ask.h c.h delete.h insert.h extend.h fmt.h marks.h misc.h move.h paragraph.h
-move.o: $(JOVE_H) re.h chars.h jctype.h disp.h move.h screen.h
-paragraph.o: $(JOVE_H) jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h re.h
-proc.o: $(JOVE_H) jctype.h fp.h re.h disp.h sysprocs.h ask.h delete.h extend.h fmt.h insert.h iproc.h marks.h misc.h move.h proc.h wind.h
-re.o: $(JOVE_H) re.h jctype.h ask.h disp.h fmt.h marks.h
-reapp.o: $(JOVE_H) fp.h re.h jctype.h chars.h disp.h ask.h fmt.h marks.h reapp.h wind.h mac.h
-rec.o: $(JOVE_H) fp.h sysprocs.h rec.h fmt.h recover.h
-scandir.o: $(JOVE_H) scandir.h
-screen.o: $(JOVE_H) fp.h chars.h jctype.h disp.h extend.h fmt.h term.h mac.h screen.h wind.h
-term.o: $(JOVE_H) term.h fp.h
-termcap.o: $(JOVE_H) term.h disp.h fmt.h fp.h jctype.h screen.h
-unix.o: $(JOVE_H) fp.h chars.h term.h ttystate.h util.h
-util.o: $(JOVE_H) jctype.h disp.h fp.h ask.h chars.h fmt.h insert.h macros.h marks.h move.h rec.h mac.h
-vars.o: $(JOVE_H) extend.h vars.h abbrev.h ask.h c.h jctype.h disp.h insert.h sysprocs.h iproc.h mac.h mouse.h paragraph.h proc.h re.h reapp.h rec.h screen.h term.h ttystate.h wind.h vars.tab
-wind.o: $(JOVE_H) chars.h disp.h ask.h extend.h commands.h mac.h reapp.h wind.h screen.h
-msgetch.o: $(JOVE_H) chars.h disp.h
-mac.o: $(TUNE_H) $(JOVE_H) mac.h ask.h chars.h disp.h extend.h fp.h commands.h fmt.h marks.h misc.h move.h screen.h scandir.h term.h vars.h version.h wind.h
-keymaps.o: $(JOVE_H) list.h fp.h jctype.h chars.h disp.h re.h ask.h commands.h macros.h extend.h fmt.h screen.h vars.h sysprocs.h iproc.h
-ibmpcdos.o: $(JOVE_H) fp.h chars.h screen.h term.h
-mouse.o: $(JOVE_H) disp.h misc.h ask.h delete.h fmt.h insert.h marks.h move.h wind.h term.h jctype.h mouse.h xjove/mousemsg.h
-win32.o: $(JOVE_H) fp.h chars.h screen.h disp.h
-portsrv.o: $(JOVE_H) sysprocs.h iproc.h
-recover.o: $(JOVE_H) temp.h sysprocs.h rec.h paths.h recover.h scandir.c jctype.h
-setmaps.o: $(JOVE_H) chars.h commands.h vars.h commands.tab vars.tab
-teachjove.o: $(TUNE_H) paths.h
-# DEPENDENCIES MUST END AT END OF FILE
-# IF YOU PUT STUFF HERE IT WILL GO AWAY
-# see "make depend" above
diff -rup --new-file baseline/bsd/jove/Makefile.in amiga/bsd/jove/Makefile.in
--- baseline/bsd/jove/Makefile.in Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/Makefile.in Sat Sep 28 00:00:00 1996
@@ -0,0 +1,589 @@
+########################################################################
+# This program is Copyright (C) 1986-1996 by Jonathan Payne. JOVE is #
+# provided to you without charge, and with no warranty. You may give #
+# away copies of JOVE, including sources, provided that this notice is #
+# included in all the files. #
+########################################################################
+
+# TMPDIR is where the tmp files get stored, usually /tmp or /usr/tmp. If
+# your system, or reboot, removes files in /tmp, but not those in /usr/tmp,
+# then it makes sense to make TMPDIR be /usr/tmp.
+# But if you want to recover buffers on system crashes, you should create a
+# directory that doesn't get cleaned upon reboot, and use that instead.
+# You would probably want to clean out that directory periodically with
+# /etc/cron.
+# RECDIR is the directory in which RECOVER looks for JOVE's tempfiles.
+#
+# JOVEHOME is the directory in which pieces of JOVE are kept. It is only used
+# in the default definitions of SHAREDIR, LIBDIR, BINDIR, and MANDIR.
+# SHAREDIR is for online documentation, and the system-wide jove.rc file.
+# LIBDIR is for the PORTSRV and RECOVER programs.
+# BINDIR is where to put the executables JOVE and TEACHJOVE.
+# MANDIR is where the manual pages go for JOVE, RECOVER and TEACHJOVE.
+# MANEXT is the extension for the man pages, e.g., jove.1 or jove.l or jove.m.
+# DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE.
+#
+# If they don't exist, this makefile will try to create the directories
+# LIBDIR and SHAREDIR. All others must already exist.
+
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = $(exec_prefix)/bin
+libdir = $(exec_prefix)/lib
+incdir = $(prefix)/include
+infodir = $(prefix)/info
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+
+SHELL = /bin/sh
+TMPDIR = /tmp
+RECDIR = /tmp/preserve
+
+JOVEHOME = @prefix@
+SHAREDIR = $(JOVEHOME)/lib/jove
+LIBDIR = $(JOVEHOME)/lib/jove
+BINDIR = $(JOVEHOME)/bin
+MANDIR = $(JOVEHOME)/man/man$(MANEXT)
+MANEXT = 1
+DFLTSHELL = /bin/sh
+
+# Select optimization level (flags passed to compiling and linking steps).
+# On most systems, -g for debugging, -O for optimization.
+# On the official Sun ANSI C compiler and the standard System V Release 4
+# compiler, adding -Xa -v will increase compiler checking.
+# On DEC OSF/1, -std1 -O
+
+OPTFLAGS =
+
+# For making dependencies under BSD systems
+DEPENDFLAG = -M
+# or, using the official Sun ANSI C compiler
+# DEPENDFLAG = -xM
+
+# Select the right libraries for your system.
+# 2.10BSD:LIBS = -ltermcap
+# v7: LIBS = -ltermcap
+# 4.1BSD: LIBS = -ltermcap -ljobs
+# 4.2BSD: LIBS = -ltermcap
+# 4.3BSD: LIBS = -ltermcap
+# SysV Rel. 2: LIBS = -lcurses
+# SCO Xenix: LIBS = -ltermcap -lx
+# SCO: LIBS = -lcurses
+# AIX on the R6000s: LIBS = -lcurses -ltermcap -ls
+# MIPS: LIBS = -ltermcap
+
+LIBS = -lcurses
+
+# 2.10BSD:LDFLAGS =
+# v7: LDFLAGS =
+# 4.1BSD: LDFLAGS =
+# 4.2BSD: LDFLAGS =
+# 4.3BSD: LDFLAGS =
+# SysV Rel. 2: LDFLAGS = -Ml
+# SCO Xenix: LDFLAGS = -Ml -F 3000
+# SCO Unix: LDFLAGS =
+# AIX Unix: LDFLAGS = -bloadmap:$@.map # only if loadmap
+#
+# To optimize the use of the address spaces, add to the LDFLAGS:
+# PDP-11 with separate I&D: -i
+# PDP-11 without separate I&D: -n
+
+
+LDFLAGS =
+
+# define a symbol for your OS if it hasn't got one. See sysdep.h.
+# Jove has very few defaults, you will almost certainly need to define
+# *something*.
+#
+# Apple A/UX on macIIs SYSDEFS=-DA_UX
+# BSD4.2,4.3 SYSDEFS=-DBSD4
+# BSDI, 386BSD, BSD4.4 SYSDEFS=-DBSDPOSIX
+# Consensys V4 SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
+# DEC OSF R1.3MK SYSDEFS=-DSYSVR4
+# DEC OSF/1 V1.3 SYSDEFS=-BSDPOSIX -DNO_TIOCREMOTE -DNO_TIOCSIGNAL
+# DEC OSF/1 V2.0 and later SYSDEFS=-DSYSVR4
+# DEC Ultrix 4.2 SYSDEFS=-DBSDPOSIX
+# DEC Ultrix 4.3 SYSDEFS=-DBSDPOSIX -DJVDISABLE=255
+# DG AViiON 5.3R4 SYSDEFS=-DSYSVR4 -DBSD_SIGS
+# HP/UX 8 or 9 SYSDEFS=-DHPUX -Ac
+# IBM RS6000s SYSDEFS=-DAIX3_2
+# Irix 3.3-4.0.5 SYSDEFS=-DIRIX -DIRIX4
+# Irix 5.0 onwards SYSDEFS=-DIRIX -prototypes
+# LINUX SYSDEFS=-DBSDPOSIX
+# MIPS RiscOS4.x SYSDEFS=-systype bsd43 -DBSD4
+# SCO Unix SYSDEFS=-DSCO
+# SunOS3.x SYSDEFS=-DSUNOS3
+# SunOS4.0* SYSDEFS=-DSUNOS40
+# SunOS4.1* SYSDEFS=-DSUNOS41
+# SunOS5.0/Solaris 2.0 SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
+# SunOS5.[1234]/Solaris 2.[1234] SYSDEFS=-DSYSVR4
+# Sys III, Sys V R 2,3 SYSDEFS=-DSYSV
+# Sys V Release 4.0 SYSDEFS=-DSYSVR4 -DGRANTPT_BUG
+# Sys V Release 4.? SYSDEFS=-DSYSVR4
+#
+# Some systems based on System V release 4 have a bug affecting interactive
+# processes. This bug can be worked around by defining GRANTPT_BUG.
+# Read the explanation of GRANTPT_BUG in sysdep.doc.
+#
+# Some of the MIPS based Ultrix (upto 4.2 at least), RiscOS and Irix (up to
+# 3.3 at least) also need -DMIPS_CC_BUG.
+#
+# Some (all?) versions of the HPUX C compiler have a bug in handling forward
+# struct tag declarations. Using the -Ac flag in place of -Ae will avoid
+# this problem (and reduce the compiler's error checking, unfortunately).
+#
+# Add -DUSE_EXIT if you're profiling or using purify (this causes Jove
+# to exit using exit(), instead of _exit()).
+#
+# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
+
+SYSDEFS =
+
+# for SCO Xenix, set
+# MEMFLAGS = -Mle
+# OUR_CFLAGS = -LARGE -O -F 3000 -K -Mle (say -Mle2 for an 80286)
+
+CFLAGS = @CFLAGS@
+INCLUDES = -I. -I$(srcdir)
+OUR_CFLAGS = $(OPTFLAGS) $(SYSDEFS) $(CFLAGS) $(INCLUDES)
+
+# For SYSVR4 (/usr/ucb/cc will NOT work because of setjmp.h):
+# CC = /usr/bin/cc
+# To use the SunPro compiler under SunOS 4.n:
+# CC = acc
+# To use the official Sun compiler under Solaris 2.n:
+# CC = /opt/SUNWspro/bin/cc
+# For DG AViiON, expect compile errors unless you use the GNU C compiler:
+# CC=gcc
+
+# Load invocation of cc.
+# LDCC = purify $(CC)
+
+CC = @CC@
+LDCC = $(CC)
+
+# For cross compiling Jove, set CC to the cross compiler, and LOCALCC
+# to the local C compiler. LOCALCC will be used for compiling setmaps,
+# which is run as part of the compilation to generate the keymaps.
+# Set LOCALCFLAGS and LOCALLDFLAGS appropriately too. For Xenix, note
+# that LOCALCFLAGS must be set to $(MEMFLAGS)
+
+LOCALCC = $(CC)
+LOCALCFLAGS = $(OUR_CFLAGS) # $(MEMFLAGS)
+LOCALLDFLAGS = $(LDFLAGS)
+
+# Objects are grouped into overlays for the benefit of (at least) 2.xBSD.
+
+BASESEG = commands.o keys.o argcount.o ask.o buf.o jctype.o delete.o \
+ disp.o insert.o io.o jove.o marks.o misc.o re.o \
+ screen.o termcap.o unix.o util.o vars.o list.o keymaps.o \
+ mouse.o
+OVLAY1 = abbrev.o rec.o paragraph.o fmt.o
+OVLAY2 = c.o wind.o fp.o move.o
+OVLAY3 = extend.o macros.o
+OVLAY4 = iproc.o reapp.o
+OVLAY5 = proc.o scandir.o term.o case.o
+
+OBJECTS = $(BASESEG) $(OVLAY1) $(OVLAY2) $(OVLAY3) $(OVLAY4) $(OVLAY5)
+
+NROFF = nroff
+TROFF = troff -Tpost
+TROFFPOST = | dpost - >troff.out.ps
+
+MANUALS = jove.$(MANEXT) teachjove.$(MANEXT) jovetool.$(MANEXT)
+
+C_SRC = commands.c commands.tab abbrev.c argcount.c ask.c buf.c c.c case.c jctype.c \
+ delete.c disp.c extend.c fp.c fmt.c insert.c io.c iproc.c \
+ jove.c list.c macros.c marks.c misc.c move.c paragraph.c \
+ proc.c re.c reapp.c rec.c scandir.c screen.c term.c termcap.c unix.c \
+ util.c vars.c vars.tab wind.c msgetch.c mac.c keymaps.c ibmpcdos.c \
+ mouse.c win32.c
+
+SOURCES = $(C_SRC) portsrv.c recover.c setmaps.c teachjove.c
+
+HEADERS = abbrev.h argcount.h ask.h buf.h c.h case.h chars.h commands.h \
+ jctype.h dataobj.h delete.h disp.h extend.h externs.h \
+ fmt.h fp.h insert.h io.h iproc.h jove.h \
+ keymaps.h list.h mac.h macros.h marks.h \
+ misc.h mouse.h move.h paragraph.h proc.h \
+ re.h reapp.h rec.h recover.h resource.h scandir.h screen.h \
+ select.h sysdep.h sysprocs.h temp.h term.h ttystate.h \
+ tune.h util.h vars.h version.h wind.h
+
+DOCTERMS = $(srcdir)/doc/jove.rc.sun $(srcdir)/doc/keychart.sun \
+ $(srcdir)/doc/jove.rc.sun-cmd $(srcdir)/doc/keychart.sun-cmd \
+ $(srcdir)/doc/jove.rc.vt100 $(srcdir)/doc/keychart.vt100 \
+ $(srcdir)/doc/jove.rc.wyse $(srcdir)/doc/keychart.wyse \
+ $(srcdir)/doc/jove.rc.xterm $(srcdir)/doc/keychart.xterm \
+ $(srcdir)/doc/jove.rc.z29 $(srcdir)/doc/keychart.z29 \
+ $(srcdir)/doc/jove.rc.3022 $(srcdir)/doc/keychart.3022 \
+ $(srcdir)/doc/XTermresource
+
+DOCS = $(srcdir)/doc/README $(srcdir)/doc/teach-jove $(srcdir)/doc/jove.qref \
+ $(srcdir)/doc/intro.nr $(srcdir)/doc/cmds.macros.nr $(srcdir)/doc/cmds.nr $(srcdir)/doc/contents.nr \
+ $(srcdir)/doc/jove.nr $(srcdir)/doc/teachjove.nr $(srcdir)/doc/xjove.nr $(srcdir)/doc/jovetool.nr \
+ $(srcdir)/doc/jove.rc $(srcdir)/doc/example.rc $(DOCTERMS)
+
+MISC = Makefile Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
+ README README.dos README.mac README.w32 sysdep.doc tune.doc
+
+SUPPORT = teachjove.c recover.c setmaps.c portsrv.c keys.txt \
+ menumaps.txt mjovers.Hqx jjoveico.uue jjove.rc
+
+BACKUPS = $(HEADERS) $(C_SRC) $(SUPPORT) $(MISC)
+
+.c.o:
+ $(CC) -c $(OUR_CFLAGS) $<
+
+all: jjove recover teachjove portsrv cmds.doc $(MANUALS)
+
+jjove: $(OBJECTS)
+ $(LDCC) $(LDFLAGS) $(OPTFLAGS) -o jjove $(OBJECTS) $(LIBS)
+ @-size jjove
+
+# For 2.xBSD: link jove as a set of overlays. Not tested recently.
+
+ovjove: $(OBJECTS)
+ ld $(LDFLAGS) $(OPTFLAGS) -X /lib/crt0.o \
+ -Z $(OVLAY1) \
+ -Z $(OVLAY2) \
+ -Z $(OVLAY3) \
+ -Z $(OVLAY4) \
+ -Z $(OVLAY5) \
+ -Y $(BASESEG) \
+ -o jjove $(LIBS) -lc
+ @-size jjove
+
+portsrv: portsrv.o
+ $(CC) $(LDFLAGS) $(OPTFLAGS) -o portsrv portsrv.o $(LIBS)
+
+recover: recover.o
+ $(CC) $(LDFLAGS) $(OPTFLAGS) -o recover recover.o $(LIBS)
+
+teachjove: teachjove.o
+ $(CC) $(LDFLAGS) $(OPTFLAGS) -o teachjove teachjove.o $(LIBS)
+
+# don't optimize setmaps.c because it produces bad code in some places
+# for some reason
+
+setmaps: setmaps.o
+ $(LOCALCC) $(LOCALLDFLAGS) -o setmaps setmaps.o
+
+setmaps.o: setmaps.c
+ $(LOCALCC) $(LOCALCFLAGS) -c $(srcdir)/setmaps.c
+
+keys.c: setmaps keys.txt
+ ./setmaps < $(srcdir)/keys.txt > keys.c
+
+keys.o: keys.c tune.h sysdep.h jove.h keymaps.h dataobj.h commands.h
+
+paths.h: Makefile
+ -rm -f paths.h
+ @echo "/* Changes should be made in Makefile, not to this file! */" > paths.h
+ @echo "" >> paths.h
+ @echo \#define TMPDIR \"$(TMPDIR)\" >> paths.h
+ @echo \#define RECDIR \"$(RECDIR)\" >> paths.h
+ @echo \#define LIBDIR \"$(LIBDIR)\" >> paths.h
+ @echo \#define SHAREDIR \"$(SHAREDIR)\" >> paths.h
+ @echo \#define DFLTSHELL \"$(DFLTSHELL)\" >> paths.h
+
+makexjove:
+ ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" $(TOOLMAKEEXTRAS) xjove )
+
+installxjove:
+ ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installxjove )
+
+makejovetool:
+ ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW $(TOOLMAKEEXTRAS) jovetool )
+
+installjovetool:
+ ( cd xjove ; make CC="$(CC)" OPTFLAGS="$(OPTFLAGS)" SYSDEFS="$(SYSDEFS)" DEFINES=-DSUNVIEW INSTALL_PROGRAM="$(INSTALL_PROGRAM)" BINDIR="$(BINDIR)" INSTALLFLAGS="$(INSTALLFLAGS)" $(TOOLMAKEEXTRAS) installjovetool )
+
+install: $(LIBDIR) $(SHAREDIR) \
+ install-teach-jove install-cmds-doc install-sharedir-docs \
+ install-portsrv install-recover install-jove install-teachjove \
+ install-jove-man install-teachjove-man install-xjove-man \
+ install-jovetool-man
+ $(INSTALL_DATA) $(srcdir)/doc/jove.rc $(SHAREDIR)/jove.rc
+ @echo See the README about changes to /etc/rc or /etc/rc.local
+ @echo so that the system recovers jove files on reboot after a crash
+
+$(LIBDIR)::
+ test -d $(LIBDIR) || mkdir $(LIBDIR)
+
+$(SHAREDIR)::
+ test -d $(SHAREDIR) || mkdir $(SHAREDIR)
+
+install-teach-jove: teachjove
+ $(INSTALL_DATA) teachjove $(SHAREDIR)/teach-jove
+
+cmds.doc: $(srcdir)/doc/cmds.macros.nr doc/cmds.nr
+ $(NROFF) $(srcdir)/doc/cmds.macros.nr $(srcdir)/doc/cmds.nr > $@
+
+jove.man: doc/intro.nr doc/cmds.nr
+ tbl $(srcdir)/doc/intro.nr | $(NROFF) -ms - $(srcdir)/doc/cmds.nr >$@
+
+troff-man:
+ tbl $(srcdir)/doc/intro.nr | $(TROFF) -ms - $(srcdir)/doc/cmds.nr $(srcdir)/doc/contents.nr $(TROFFPOST)
+
+install-cmds-doc: cmds.doc
+ $(INSTALL_DATA) cmds.doc $(SHAREDIR)/cmds.doc
+
+$(SHAREDIR)/jove.rc: doc/jove.rc
+ $(INSTALL_DATA) $(srcdir)/doc/jove.rc $(SHAREDIR)/jove.rc
+
+install-sharedir-docs: $(DOCTERMS)
+ for i in $(DOCTERMS) ; do \
+ $(INSTALL_DATA) $$i $(SHAREDIR) ; \
+ done
+
+install-portsrv: portsrv
+ $(INSTALL_PROGRAM) portsrv $(LIBDIR)/portsrv
+
+install-recover: recover
+ $(INSTALL_PROGRAM) recover $(LIBDIR)/recover
+
+install-jove: jjove
+ $(INSTALL_PROGRAM) jjove $(BINDIR)/jove
+
+install-teachjove: teachjove
+ $(INSTALL_PROGRAM) teachjove $(BINDIR)/$(TEACHJOVE)
+
+jove.$(MANEXT): doc/jove.nr
+ @sed -e 's;<TMPDIR>;$(TMPDIR);' \
+ -e 's;<LIBDIR>;$(LIBDIR);' \
+ -e 's;<SHAREDIR>;$(SHAREDIR);' \
+ -e 's;<SHELL>;$(DFLTSHELL);' $(srcdir)/doc/jove.nr > $@
+
+install-jove-man: jove.$(MANEXT)
+ $(INSTALL_DATA) $? $(MANDIR)/jove.$(MANEXT)
+
+
+# doc/jove.doc is the formatted manpage (only needed by DOS)
+# Building it should be like building $(MANDIR)/jove.$(MANEXT) except that we
+# don't know what to substitue for <TMPDIR> etc. because they
+# are not fixed yet, and because we must do the formatting.
+
+jove.doc: doc/jove.nr
+ $(NROFF) -man $(srcdir)/doc/jove.nr >$@
+
+teachjove.$(MANEXT): doc/teachjove.nr
+ @sed -e 's;<TMPDIR>;$(TMPDIR);' \
+ -e 's;<LIBDIR>;$(LIBDIR);' \
+ -e 's;<SHAREDIR>;$(SHAREDIR);' \
+ -e 's;<SHELL>;$(DFLTSHELL);' $(srcdir)/doc/teachjove.nr >$@
+
+install-teachjove-man: teachjove.$(MANEXT)
+ $(INSTALL_DATA) $? $(MANDIR)/teachjove.$(MANEXT)
+
+install-xjove-man:
+ $(INSTALL_DATA) $(srcdir)/doc/xjove.nr $(MANDIR)/xjove.$(MANEXT)
+
+jovetool.$(MANEXT): doc/jovetool.nr
+ @sed -e 's;<MANDIR>;$(MANDIR);' \
+ -e 's;<MANEXT>;$(MANEXT);' $(srcdir)/doc/jovetool.nr > $@
+
+install-jovetool-man: jovetool.$(MANEXT)
+ $(INSTALL_DATA) $? $(MANDIR)/jovetool.$(MANEXT)
+
+echo:
+ @echo $(C-FILES) $(HEADERS)
+
+lint:
+ lint -n $(C_SRC) keys.c
+ @echo Done
+
+tags: $(C_SRC) $(HEADERS)
+ ctags -w $(C_SRC) $(HEADERS)
+
+# .filelist is a trick to get around a make limit:
+# the list of files is too long to fit in a command generated by make
+# The actual contents of the file depend only on Makefile, but by
+# adding extra dependencies, dependants of .filelist can have shorter
+# dependency lists. Note: since we have no list of xjove files,
+# we alway force a make of xjove/.filelist. This forces .filelist
+# to be rebuilt every time it is needed.
+
+.filelist: $(BACKUPS) $(DOCS) .xjfilelist
+ @ls $(BACKUPS) >.filelist
+ @ls $(DOCS) >>.filelist
+ @sed -e 's=^=xjove/=' xjove/.filelist >>.filelist
+
+.xjfilelist:
+ @( cd xjove ; make .filelist )
+
+# override CIFLAGS with something like:
+# CIFLAGS="-m'some reason for change' -u4.14.10.n -q"
+
+ciall: .filelist
+ ci $(CIFLAGS) `cat .filelist`
+
+coall: .filelist
+ co $(BACKUPS) `cat .filelist`
+
+jove.shar: .filelist
+ shar .filelist > jove.shar
+
+tar:
+ @tar cvf - `find . -type f -print | \
+ egrep -v '(,v|\.o|jjove|portsrv|setmaps|~)$$' | \
+ sort`
+
+backup.Z: .filelist
+ rm -f backup backup.Z
+ tar cf backup `cat .filelist`
+ compress backup
+
+backup.gz: .filelist
+ rm -f backup backup.gz
+ tar cf backup `cat .filelist`
+ gzip backup
+
+tape-backup: .filelist
+ tar cf /dev/rst8 `cat .filelist`
+
+# System V sum can be made to match BSD with a -r flag.
+# To get this effect, override with SUM = sum -r
+SUM = sum
+
+checksum: .filelist
+ $(SUM) `cat .filelist`
+
+# MSDOS isn't a full-fledged development environment.
+# Preparing a distribution for MSDOS involves discarding some things
+# and pre-building others. All should have \n converted to CR LF
+# but zoo doesn't do this.
+# From SUPPORT: only setmaps.c and keys.txt [would like teachjove.c, recover.c]
+# From MISC: all but Makefile and README.mac
+# Preformatted documentation. [would like a joverc]
+# tags
+
+DOSSRC = $(HEADERS) $(C_SRC) setmaps.c keys.txt \
+ Makefile.bcc Makefile.msc Makefile.wat Makefile.zor \
+ README README.dos README.w32 sysdep.doc tune.doc \
+ jjoveico.uue jjove.rc \
+ cmds.doc jove.man jove.doc tags
+
+jovedoss.zoo: $(DOSSRC) jjove.ico
+ -rm -f jovedoss.zoo
+ zoo a jovedoss.zoo $(DOSSRC) jjove.ico
+
+jovedoss.zip: $(DOSSRC) jjove.ico
+ -rm -f jovedoss.zip
+ zip -k jovedoss.zip jjove.ico -l $(DOSSRC)
+
+jjove.ico: jjoveico.uue
+ uudecode jjoveico.uue
+
+touch:
+ touch $(OBJECTS)
+
+clean:
+ rm -f a.out core *.o keys.c jjove portsrv recover setmaps \
+ teachjove paths.h \#* *~ make.log *.map jjove.ico \
+ cmds.doc jove.man jove.doc troff.out.ps \
+ jjove.pure_* tags ID .filelist
+
+cleanall: clean
+ ( cd xjove ; make clean )
+
+clobber: clean
+ rm -f *.orig *.rej
+ ( cd xjove ; make clobber )
+
+# This version only works under 4.3BSD
+dependbsd:
+ @echo '"make depend" only works under 4.3BSD'
+ sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
+ for i in ${SOURCES} ; do \
+ $(CC) ${OUR_CFLAGS} ${DEPENDFLAG} $$i | \
+ awk ' /[/]usr[/]include/ { next } \
+ { if ($$1 != prev) \
+ { if (rec != "") print rec; rec = $$0; prev = $$1; } \
+ else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
+ else rec = rec " " $$2 } } \
+ END { print rec } ' >>Makefile.new; \
+ done
+ echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
+ echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
+ echo '# see "make depend" above' >>Makefile.new
+ @echo 'New makefile is in "Makefile.new". Move it to "Makefile".'
+
+# This version should work with any UNIX
+# It records all dependencies, including ones that are #ifdef'ed out.
+# It assumes that only jove.h and tune.h include other headers
+
+depend:
+ @sed -e '/^# DO NOT DELETE THIS LINE/q' Makefile >Makefile.new
+ for i in tune.h jove.h ${SOURCES} ; do \
+ ( ( echo "$$i:"; sed -n -e 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$i ) | \
+ sed -e 's/^jove\.h$$/$$(JOVE_H)/' -e 's/^tune\.h$$/$$(TUNE_H)/' \
+ -e 's/^jove\.h:$$/JOVE_H = jove.h/' -e 's/^tune\.h:$$/TUNE_H = tune.h/' \
+ -e 's/\.c:$$/.o:/' | \
+ tr "\012" "\040" ; echo ) | sed -e 's/ $$//' -e '/:$$/d' >>Makefile.new ; \
+ done
+ @echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
+ @echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >>Makefile.new
+ @echo '# see "make depend" above' >>Makefile.new
+ @if cmp -s Makefile Makefile.new ; \
+ then echo '*** Makefile is already up to date' ; \
+ else echo '*** New makefile is in "Makefile.new". Move it to "Makefile".' ; \
+ fi
+
+# DO NOT DELETE THIS LINE -- "make depend" uses it
+TUNE_H = tune.h sysdep.h
+JOVE_H = jove.h $(TUNE_H) buf.h io.h dataobj.h keymaps.h argcount.h util.h externs.h
+commands.o: $(JOVE_H) jctype.h extend.h macros.h mouse.h abbrev.h c.h case.h commands.h delete.h disp.h insert.h sysprocs.h iproc.h marks.h misc.h move.h paragraph.h proc.h reapp.h wind.h commands.tab
+abbrev.o: $(JOVE_H) fp.h jctype.h abbrev.h ask.h commands.h delete.h insert.h disp.h fmt.h move.h wind.h
+argcount.o: $(JOVE_H) jctype.h
+ask.o: $(JOVE_H) jctype.h chars.h disp.h fp.h scandir.h screen.h ask.h delete.h insert.h extend.h fmt.h marks.h move.h mac.h
+buf.o: $(JOVE_H) jctype.h disp.h ask.h extend.h fmt.h insert.h macros.h marks.h move.h sysprocs.h proc.h wind.h fp.h iproc.h mac.h
+c.o: $(JOVE_H) re.h c.h jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h
+case.o: $(JOVE_H) disp.h case.h jctype.h marks.h move.h
+jctype.o: $(JOVE_H) jctype.h
+delete.o: $(JOVE_H) jctype.h disp.h delete.h insert.h marks.h move.h
+disp.o: $(JOVE_H) jctype.h chars.h fp.h disp.h ask.h extend.h fmt.h insert.h sysprocs.h iproc.h move.h macros.h screen.h term.h wind.h mac.h
+extend.o: $(JOVE_H) fp.h jctype.h chars.h commands.h disp.h re.h ask.h extend.h fmt.h insert.h move.h sysprocs.h proc.h vars.h mac.h
+fp.o: $(JOVE_H) fp.h jctype.h disp.h fmt.h mac.h
+fmt.o: $(JOVE_H) chars.h fp.h jctype.h disp.h extend.h fmt.h mac.h
+insert.o: $(JOVE_H) jctype.h list.h chars.h disp.h abbrev.h ask.h c.h delete.h insert.h fmt.h macros.h marks.h misc.h move.h paragraph.h screen.h sysprocs.h proc.h wind.h re.h
+io.o: $(JOVE_H) list.h fp.h jctype.h disp.h scandir.h ask.h fmt.h insert.h marks.h sysprocs.h proc.h wind.h rec.h mac.h re.h temp.h
+iproc.o: $(JOVE_H) re.h jctype.h disp.h fp.h sysprocs.h iproc.h ask.h extend.h fmt.h insert.h marks.h move.h proc.h wind.h select.h ttystate.h
+jove.o: $(JOVE_H) fp.h jctype.h chars.h disp.h re.h reapp.h sysprocs.h rec.h ask.h extend.h fmt.h macros.h marks.h mouse.h paths.h proc.h screen.h term.h version.h wind.h iproc.h select.h mac.h
+list.o: $(JOVE_H) list.h
+macros.o: $(JOVE_H) jctype.h fp.h chars.h disp.h ask.h commands.h macros.h extend.h fmt.h
+marks.o: $(JOVE_H) fmt.h marks.h disp.h
+misc.o: $(JOVE_H) jctype.h disp.h ask.h c.h delete.h insert.h extend.h fmt.h marks.h misc.h move.h paragraph.h
+move.o: $(JOVE_H) re.h chars.h jctype.h disp.h move.h screen.h
+paragraph.o: $(JOVE_H) jctype.h disp.h delete.h insert.h fmt.h marks.h misc.h move.h paragraph.h re.h
+proc.o: $(JOVE_H) jctype.h fp.h re.h disp.h sysprocs.h ask.h delete.h extend.h fmt.h insert.h iproc.h marks.h misc.h move.h proc.h wind.h
+re.o: $(JOVE_H) re.h jctype.h ask.h disp.h fmt.h marks.h
+reapp.o: $(JOVE_H) fp.h re.h jctype.h chars.h disp.h ask.h fmt.h marks.h reapp.h wind.h mac.h
+rec.o: $(JOVE_H) fp.h sysprocs.h rec.h fmt.h recover.h
+scandir.o: $(JOVE_H) scandir.h
+screen.o: $(JOVE_H) fp.h chars.h jctype.h disp.h extend.h fmt.h term.h mac.h screen.h wind.h
+term.o: $(JOVE_H) term.h fp.h
+termcap.o: $(JOVE_H) term.h disp.h fmt.h fp.h jctype.h screen.h
+unix.o: $(JOVE_H) fp.h chars.h term.h ttystate.h util.h
+util.o: $(JOVE_H) jctype.h disp.h fp.h ask.h chars.h fmt.h insert.h macros.h marks.h move.h rec.h mac.h
+vars.o: $(JOVE_H) extend.h vars.h abbrev.h ask.h c.h jctype.h disp.h insert.h sysprocs.h iproc.h mac.h mouse.h paragraph.h proc.h re.h reapp.h rec.h screen.h term.h ttystate.h wind.h vars.tab
+wind.o: $(JOVE_H) chars.h disp.h ask.h extend.h commands.h mac.h reapp.h wind.h screen.h
+msgetch.o: $(JOVE_H) chars.h disp.h
+mac.o: $(TUNE_H) $(JOVE_H) mac.h ask.h chars.h disp.h extend.h fp.h commands.h fmt.h marks.h misc.h move.h screen.h scandir.h term.h vars.h version.h wind.h
+keymaps.o: $(JOVE_H) list.h fp.h jctype.h chars.h disp.h re.h ask.h commands.h macros.h extend.h fmt.h screen.h vars.h sysprocs.h iproc.h
+ibmpcdos.o: $(JOVE_H) fp.h chars.h screen.h term.h
+mouse.o: $(JOVE_H) disp.h misc.h ask.h delete.h fmt.h insert.h marks.h move.h wind.h term.h jctype.h mouse.h xjove/mousemsg.h
+win32.o: $(JOVE_H) fp.h chars.h screen.h disp.h
+portsrv.o: $(JOVE_H) sysprocs.h iproc.h
+recover.o: $(JOVE_H) temp.h sysprocs.h rec.h paths.h recover.h scandir.c jctype.h
+setmaps.o: $(JOVE_H) chars.h commands.h vars.h commands.tab vars.tab
+teachjove.o: $(TUNE_H) paths.h
+# DEPENDENCIES MUST END AT END OF FILE
+# IF YOU PUT STUFF HERE IT WILL GO AWAY
+# see "make depend" above
diff -rup --new-file baseline/bsd/jove/Product-Info amiga/bsd/jove/Product-Info
--- baseline/bsd/jove/Product-Info Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/Product-Info Sat Sep 28 00:00:00 1996
@@ -0,0 +1,61 @@
+.name
+jove
+.fullname
+Jonathans Own Version of Emacs
+.type
+Text Editing
+.short
+Small but very useful EMACS like editor.
+.description
+JOVE stands for Jonathan's Own Version of Emacs.
+
+JOVE is an advanced, self-documenting, customizable real-time display
+editor. It (and this tutorial introduction) are based on the original
+EMACS editor and user manual written at M.I.T. by Richard Stallman+.
+
+Although JOVE is meant to be compatible with EMACS, and indeed many of
+the basic commands are very similar, there are some major differences
+between the two editors, and you should not rely on their behaving
+identically.
+
+JOVE is considered a display editor because normally the text being
+edited is visible on the screen and is updated automatically as you
+type your commands.
+
+It's considered a real-time editor because the display is updated very
+frequently, usually after each character or pair of characters you
+type. This minimizes the amount of information you must keep in your
+head as you edit.
+
+JOVE is advanced because it provides facilities that go beyond simple
+insertion and deletion: filling of text; automatic indentations of
+programs; view more than one file at once; and dealing in terms of
+characters, words, lines, sentences and paragraphs. It is much easier
+to type one command meaning "go to the end of the paragraph" than to
+find the desired spot with repetition of simpler commands.
+
+Self-documenting means that at almost any time you can easily find out
+what a command does, or to find all the commands that pertain to a
+topic.
+
+Customizable means that you can change the definition of JOVE commands
+in little ways. For example, you can rearrange the command set; if
+you prefer to use arrow keys for the four basic cursor motion commands
+(up, down, left and right), you can. Another sort of customization is
+writing new commands by combining built in commands.
+.version
+4.16
+.author
+Jonathan Payne
+.distribution
+Copyrighted but Freely Redistributable
+.email
+jpayne@sun.com
+.source
+Includes source.
+.docs
+README
+.described-by
+Fred Fish (fnf@fishpond.cygnus.com)
+.submittal
+From BSD-Lite source distribution.
diff -rup --new-file baseline/bsd/jove/README.amiga amiga/bsd/jove/README.amiga
--- baseline/bsd/jove/README.amiga Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/README.amiga Sat Sep 28 00:00:00 1996
@@ -0,0 +1,6 @@
+This is a very crude "compile and go" port of Jove.
+I'll leave it to an interested party to clean it up
+and make it more "Amiga friendly".
+
+-Fred ><>
+ 11-Jan-95
diff -rup --new-file baseline/bsd/jove/configure amiga/bsd/jove/configure
--- baseline/bsd/jove/configure Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/configure Mon Sep 30 22:30:40 1996
@@ -0,0 +1,1075 @@
+#! /bin/sh
+
+# Guess values for system-dependent variables and create Makefiles.
+# Generated automatically using autoconf version 2.10
+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+
+# Defaults:
+ac_help=
+ac_default_prefix=/usr/local
+# Any additions from configure.in:
+
+# Initialize some variables set by options.
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+build=NONE
+cache_file=./config.cache
+exec_prefix=NONE
+host=NONE
+no_create=
+nonopt=NONE
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+target=NONE
+verbose=
+x_includes=NONE
+x_libraries=NONE
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datadir='${prefix}/share'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+libdir='${exec_prefix}/lib'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+infodir='${prefix}/info'
+guidedir='${prefix}/guide'
+psdir='${prefix}/ps'
+dvidir='${prefix}/dvi'
+mandir='${prefix}/man'
+
+# Initialize some other variables.
+subdirs=
+MFLAGS= MAKEFLAGS=
+
+ac_prev=
+for ac_option
+do
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval "$ac_prev=\$ac_option"
+ ac_prev=
+ continue
+ fi
+
+ case "$ac_option" in
+ -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) ac_optarg= ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case "$ac_option" in
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir="$ac_optarg" ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build="$ac_optarg" ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file="$ac_optarg" ;;
+
+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
+ | --da=*)
+ datadir="$ac_optarg" ;;
+
+ -disable-* | --disable-*)
+ ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
+ fi
+ ac_feature=`echo $ac_feature| sed 's/-/_/g'`
+ eval "enable_${ac_feature}=no" ;;
+
+ -enable-* | --enable-*)
+ ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
+ fi
+ ac_feature=`echo $ac_feature| sed 's/-/_/g'`
+ case "$ac_option" in
+ *=*) ;;
+ *) ac_optarg=yes ;;
+ esac
+ eval "enable_${ac_feature}='$ac_optarg'" ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix="$ac_optarg" ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he)
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat << EOF
+Usage: configure [options] [host]
+Options: [defaults in brackets after descriptions]
+Configuration:
+ --cache-file=FILE cache test results in FILE
+ --help print this message
+ --no-create do not create output files
+ --quiet, --silent do not print \`checking...' messages
+ --version print the version of autoconf that created configure
+Directory and file names:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [same as prefix]
+ --bindir=DIR user executables in DIR [EPREFIX/bin]
+ --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
+ --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
+ --datadir=DIR read-only architecture-independent data in DIR
+ [PREFIX/share]
+ --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data in DIR
+ [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
+ --libdir=DIR object code libraries in DIR [EPREFIX/lib]
+ --includedir=DIR C header files in DIR [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
+ --infodir=DIR info documentation in DIR [PREFIX/info]
+ --guidedir=DIR Amigaguide documentation in DIR [PREFIX/guide]
+ --psdir=DIR postscript documentation in DIR [PREFIX/ps]
+ --dvidir=DIR TeX dvi documentation in DIR [PREFIX/dvi]
+ --mandir=DIR man documentation in DIR [PREFIX/man]
+ --srcdir=DIR find the sources in DIR [configure dir or ..]
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM
+ run sed PROGRAM on installed program names
+EOF
+ cat << EOF
+Host type:
+ --build=BUILD configure for building on BUILD [BUILD=HOST]
+ --host=HOST configure for HOST [guessed]
+ --target=TARGET configure for TARGET [TARGET=HOST]
+Features and packages:
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --x-includes=DIR X include files are in DIR
+ --x-libraries=DIR X library files are in DIR
+EOF
+ if test -n "$ac_help"; then
+ echo "--enable and --with options recognized:$ac_help"
+ fi
+ exit 0 ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host="$ac_optarg" ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir="$ac_optarg" ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir="$ac_optarg" ;;
+
+ -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
+ ac_prev=guidedir ;;
+ -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+ guidedir="$ac_optarg" ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+ psdir="$ac_optarg" ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+ dvidir="$ac_optarg" ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir="$ac_optarg" ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir="$ac_optarg" ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst \
+ | --locals | --local | --loca | --loc | --lo)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \
+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
+ localstatedir="$ac_optarg" ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir="$ac_optarg" ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir="$ac_optarg" ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix="$ac_optarg" ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix="$ac_optarg" ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix="$ac_optarg" ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name="$ac_optarg" ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir="$ac_optarg" ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir="$ac_optarg" ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site="$ac_optarg" ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir="$ac_optarg" ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir="$ac_optarg" ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target="$ac_optarg" ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers)
+ echo "configure generated by autoconf version 2.10"
+ exit 0 ;;
+
+ -with-* | --with-*)
+ ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
+ fi
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
+ case "$ac_option" in
+ *=*) ;;
+ *) ac_optarg=yes ;;
+ esac
+ eval "with_${ac_package}='$ac_optarg'" ;;
+
+ -without-* | --without-*)
+ ac_package=`echo $ac_option|sed -e 's/-*without-//'`
+ # Reject names that are not valid shell variable names.
+ if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
+ fi
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
+ eval "with_${ac_package}=no" ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes="$ac_optarg" ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries="$ac_optarg" ;;
+
+ -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
+ ;;
+
+ *)
+ if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+ echo "configure: warning: $ac_option: invalid host type" 1>&2
+ fi
+ if test "x$nonopt" != xNONE; then
+ { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
+ fi
+ nonopt="$ac_option"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
+fi
+
+trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
+
+# File descriptor usage:
+# 0 standard input
+# 1 file creation
+# 2 errors and warnings
+# 3 some systems may open it to /dev/tty
+# 4 used on the Kubota Titan
+# 6 checking for... messages and results
+# 5 compiler messages saved in config.log
+if test "$silent" = yes; then
+ exec 6>/dev/null
+else
+ exec 6>&1
+fi
+exec 5>./config.log
+
+echo "\
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+" 1>&5
+
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Also quote any args containing shell metacharacters.
+ac_configure_args=
+for ac_arg
+do
+ case "$ac_arg" in
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c) ;;
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
+ ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+ *) ac_configure_args="$ac_configure_args $ac_arg" ;;
+ esac
+done
+
+# NLS nuisances.
+# Only set LANG and LC_ALL to C if already set.
+# These must not be set unconditionally because not all systems understand
+# e.g. LANG=C (notably SCO).
+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -rf conftest* confdefs.h
+# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+echo > confdefs.h
+
+# A filename unique to this package, relative to the directory that
+# configure is in, which we can look for to find out if srcdir is correct.
+ac_unique_file=jove.h
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then its parent.
+ ac_prog=$0
+ ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
+ test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
+ srcdir=$ac_confdir
+ if test ! -r $srcdir/$ac_unique_file; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r $srcdir/$ac_unique_file; then
+ if test "$ac_srcdir_defaulted" = yes; then
+ { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
+ else
+ { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
+ fi
+fi
+srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
+
+# Prefer explicitly selected file to automatically selected ones.
+if test -z "$CONFIG_SITE"; then
+ if test "x$prefix" != xNONE; then
+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
+ else
+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
+ fi
+fi
+for ac_site_file in $CONFIG_SITE; do
+ if test -r "$ac_site_file"; then
+ echo "loading site script $ac_site_file"
+ . "$ac_site_file"
+ fi
+done
+
+if test -r "$cache_file"; then
+ echo "loading cache $cache_file"
+ . $cache_file
+else
+ echo "creating cache $cache_file"
+ > $cache_file
+fi
+
+ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
+ # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
+ if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
+ ac_n= ac_c='
+' ac_t=' '
+ else
+ ac_n=-n ac_c= ac_t=
+ fi
+else
+ ac_n= ac_c='\c' ac_t=
+fi
+
+
+
+# Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_CC="gcc"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+CC="$ac_cv_prog_CC"
+if test -n "$CC"; then
+ echo "$ac_t""$CC" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ ac_prog_rejected=no
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# -gt 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ set dummy "$ac_dir/$ac_word" "$@"
+ shift
+ ac_cv_prog_CC="$@"
+ fi
+fi
+fi
+fi
+CC="$ac_cv_prog_CC"
+if test -n "$CC"; then
+ echo "$ac_t""$CC" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
+fi
+
+echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.c <<EOF
+#ifdef __GNUC__
+ yes;
+#endif
+EOF
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+ ac_cv_prog_gcc=yes
+else
+ ac_cv_prog_gcc=no
+fi
+fi
+
+echo "$ac_t""$ac_cv_prog_gcc" 1>&6
+if test $ac_cv_prog_gcc = yes; then
+ GCC=yes
+ if test "${CFLAGS+set}" != set; then
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ echo 'void f(){}' > conftest.c
+if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
+ ac_cv_prog_gcc_g=yes
+else
+ ac_cv_prog_gcc_g=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
+ if test $ac_cv_prog_gcc_g = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-O2"
+ fi
+ fi
+else
+ GCC=
+ test "${CFLAGS+set}" = set || CFLAGS="-g"
+fi
+
+echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ # This must be in double quotes, not single quotes, because CPP may get
+ # substituted into the Makefile and "${CC-cc}" will confuse make.
+ CPP="${CC-cc} -E"
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp.
+ cat > conftest.$ac_ext <<EOF
+#line 673 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ rm -rf conftest*
+ CPP="${CC-cc} -E -traditional-cpp"
+ cat > conftest.$ac_ext <<EOF
+#line 688 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ rm -rf conftest*
+ CPP=/lib/cpp
+fi
+rm -f conftest*
+fi
+rm -f conftest*
+ ac_cv_prog_CPP="$CPP"
+fi
+ CPP="$ac_cv_prog_CPP"
+else
+ ac_cv_prog_CPP="$CPP"
+fi
+echo "$ac_t""$CPP" 1>&6
+
+if test $ac_cv_prog_gcc = yes; then
+ echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_pattern="Autoconf.*'x'"
+ cat > conftest.$ac_ext <<EOF
+#line 721 "configure"
+#include "confdefs.h"
+#include <sgtty.h>
+Autoconf TIOCGETP
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "$ac_pattern" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_prog_gcc_traditional=yes
+else
+ rm -rf conftest*
+ ac_cv_prog_gcc_traditional=no
+fi
+rm -f conftest*
+
+
+ if test $ac_cv_prog_gcc_traditional = no; then
+ cat > conftest.$ac_ext <<EOF
+#line 739 "configure"
+#include "confdefs.h"
+#include <termio.h>
+Autoconf TCGETA
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "$ac_pattern" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_prog_gcc_traditional=yes
+fi
+rm -f conftest*
+
+ fi
+fi
+
+echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
+ if test $ac_cv_prog_gcc_traditional = yes; then
+ CC="$CC -traditional"
+ fi
+fi
+
+ac_aux_dir=
+for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+ if test -f $ac_dir/install-sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f $ac_dir/install.sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
+fi
+ac_config_guess=$ac_aux_dir/config.guess
+ac_config_sub=$ac_aux_dir/config.sub
+ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /c/install
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# ./install, which can be erroneously created by make from ./install.sh.
+echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
+if test -z "$INSTALL"; then
+if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ # Account for people who put trailing slashes in PATH elements.
+ case "$ac_dir/" in
+ /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ for ac_prog in ginstall installbsd scoinst install; do
+ if test -f $ac_dir/$ac_prog; then
+ if test $ac_prog = install &&
+ grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ # OSF/1 installbsd also uses dspmsg, but is usable.
+ :
+ else
+ ac_cv_path_install="$ac_dir/$ac_prog -c"
+ break 2
+ fi
+ fi
+ done
+ ;;
+ esac
+ done
+ IFS="$ac_save_ifs"
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL="$ac_cv_path_install"
+ else
+ # As a last resort, use the slow shell script. We don't cache a
+ # path for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the path is relative.
+ INSTALL="$ac_install_sh"
+ fi
+fi
+echo "$ac_t""$INSTALL" 1>&6
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+# Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_RANLIB="ranlib"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
+fi
+fi
+RANLIB="$ac_cv_prog_RANLIB"
+if test -n "$RANLIB"; then
+ echo "$ac_t""$RANLIB" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+trap '' 1 2 15
+cat > confcache <<\EOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs. It is not useful on other systems.
+# If it contains results you don't want to keep, you may remove or edit it.
+#
+# By default, configure uses ./config.cache as the cache file,
+# creating it if it does not exist already. You can give configure
+# the --cache-file=FILE option to use a different cache file; that is
+# what configure does when it calls configure scripts in
+# subdirectories, so they share the cache.
+# Giving --cache-file=/dev/null disables caching, for debugging configure.
+# config.status only pays attention to the cache file if you give it the
+# --recheck option to rerun configure.
+#
+EOF
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(set) 2>&1 |
+ sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
+ >> confcache
+if cmp -s $cache_file confcache; then
+ :
+else
+ if test -w $cache_file; then
+ echo "updating cache $cache_file"
+ cat confcache > $cache_file
+ else
+ echo "not updating unwritable cache $cache_file"
+ fi
+fi
+rm -f confcache
+
+trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# Any assignment to VPATH causes Sun make to only execute
+# the first set of double-colon rules, so remove it if not needed.
+# If there is a colon in the path, we need to keep it.
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
+fi
+
+trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+cat > conftest.defs <<\EOF
+s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
+s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
+s%\[%\\&%g
+s%\]%\\&%g
+s%\$%$$%g
+EOF
+DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
+rm -f conftest.defs
+
+
+# Without the "./", some shells look in PATH for config.status.
+: ${CONFIG_STATUS=./config.status}
+
+echo creating $CONFIG_STATUS
+# Some systems, like AmigaOS, won't allow you to remove a script that is
+# being executed, so just move it out of the way instead.
+if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
+cat > $CONFIG_STATUS <<EOF
+#! /bin/sh
+# Generated automatically by configure.
+# Run this file to recreate the current configuration.
+# This directory was configured as follows,
+# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+#
+# $0 $ac_configure_args
+#
+# Compiler output produced by configure, useful for debugging
+# configure, is in ./config.log if it exists.
+
+ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
+for ac_option
+do
+ case "\$ac_option" in
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
+ exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
+ -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
+ echo "$CONFIG_STATUS generated by autoconf version 2.10"
+ exit 0 ;;
+ -help | --help | --hel | --he | --h)
+ echo "\$ac_cs_usage"; exit 0 ;;
+ *) echo "\$ac_cs_usage"; exit 1 ;;
+ esac
+done
+
+ac_given_srcdir=$srcdir
+ac_given_INSTALL="$INSTALL"
+
+trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+EOF
+cat >> $CONFIG_STATUS <<EOF
+
+# Protect against being on the right side of a sed subst in config.status.
+sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
+ s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
+$ac_vpsub
+$extrasub
+s%@CFLAGS@%$CFLAGS%g
+s%@CPPFLAGS@%$CPPFLAGS%g
+s%@CXXFLAGS@%$CXXFLAGS%g
+s%@DEFS@%$DEFS%g
+s%@LDFLAGS@%$LDFLAGS%g
+s%@LIBS@%$LIBS%g
+s%@exec_prefix@%$exec_prefix%g
+s%@prefix@%$prefix%g
+s%@program_transform_name@%$program_transform_name%g
+s%@bindir@%$bindir%g
+s%@sbindir@%$sbindir%g
+s%@libexecdir@%$libexecdir%g
+s%@datadir@%$datadir%g
+s%@sysconfdir@%$sysconfdir%g
+s%@sharedstatedir@%$sharedstatedir%g
+s%@localstatedir@%$localstatedir%g
+s%@libdir@%$libdir%g
+s%@includedir@%$includedir%g
+s%@oldincludedir@%$oldincludedir%g
+s%@infodir@%$infodir%g
+s%@guidedir@%$guidedir%g
+s%@psdir@%$psdir%g
+s%@dvidir@%$dvidir%g
+s%@mandir@%$mandir%g
+s%@CC@%$CC%g
+s%@CPP@%$CPP%g
+s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+s%@INSTALL_DATA@%$INSTALL_DATA%g
+s%@RANLIB@%$RANLIB%g
+
+CEOF
+EOF
+cat >> $CONFIG_STATUS <<EOF
+
+CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
+EOF
+cat >> $CONFIG_STATUS <<\EOF
+for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
+ # Support "outfile[:infile]", defaulting infile="outfile.in".
+ case "$ac_file" in
+ *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
+ ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
+ *) ac_file_in="${ac_file}.in" ;;
+ esac
+
+ # Adjust relative srcdir, etc. for subdirectories.
+
+ # Remove last slash and all that follows it. Not all systems have dirname.
+ ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
+ if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+ # The file is in a subdirectory.
+ test ! -d "$ac_dir" && mkdir "$ac_dir"
+ ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
+ else
+ ac_dir_suffix= ac_dots=
+ fi
+
+ case "$ac_given_srcdir" in
+ .) srcdir=.
+ if test -z "$ac_dots"; then top_srcdir=.
+ else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
+ /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
+ *) # Relative path.
+ srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
+ top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ esac
+
+ case "$ac_given_INSTALL" in
+ [/$]*) INSTALL="$ac_given_INSTALL" ;;
+ *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+ esac
+ echo creating "$ac_file"
+ rm -f "$ac_file"
+ configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
+ case "$ac_file" in
+ *Makefile*) ac_comsub="1i\\
+# $configure_input" ;;
+ *) ac_comsub= ;;
+ esac
+ sed -e "$ac_comsub
+s%@configure_input@%$configure_input%g
+s%@srcdir@%$srcdir%g
+s%@top_srcdir@%$top_srcdir%g
+s%@INSTALL@%$INSTALL%g
+" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
+fi; done
+rm -f conftest.subs
+
+
+
+exit 0
+EOF
+chmod +x $CONFIG_STATUS
+rm -f CONFIG.STATUS.old
+rm -fr confdefs* $ac_clean_files
+test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
+
diff -rup --new-file baseline/bsd/jove/configure.in amiga/bsd/jove/configure.in
--- baseline/bsd/jove/configure.in Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/configure.in Sat Sep 28 00:00:00 1996
@@ -0,0 +1,9 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(jove.h)
+
+AC_PROG_CC
+AC_GCC_TRADITIONAL
+AC_PROG_INSTALL
+AC_PROG_RANLIB
+
+AC_OUTPUT(Makefile)
diff -rup --new-file baseline/bsd/jove/externs.h amiga/bsd/jove/externs.h
--- baseline/bsd/jove/externs.h Thu Mar 7 10:34:42 1996
+++ amiga/bsd/jove/externs.h Sat Sep 28 00:00:00 1996
@@ -21,7 +21,7 @@ extern SSIZE_T
read proto((int /*fd*/, UnivPtr /*buf*/, size_t /*nbytes*/)),
write proto((int /*fd*/, UnivConstPtr /*buf*/, size_t /*nbytes*/));
-extern long lseek proto((int /*fd*/, long /*offset*/, int /*whence*/));
+extern off_t lseek proto((int /*fd*/, off_t /*offset*/, int /*whence*/));
extern time_t time proto((time_t *));
extern void
@@ -93,12 +93,13 @@ extern char *getcwd proto((char *, size_
extern int access proto((const char */*path*/, int /*mode*/));
# ifndef W_OK
-# define W_OK 2
-# define X_OK 1
+# define R_OK 0x04
+# define W_OK 0x02
+# define X_OK 0x01
# define F_OK 0
# endif
-extern int creat proto((const char */*path*/, int /*mode*/));
+extern int creat proto((const char */*path*/, mode_t /*mode*/));
/* open may have an optional third argument, int mode */
extern int open proto((const char */*path*/, int /*flags*/, ...));
@@ -135,8 +136,8 @@ extern int pipe proto((int *));
extern int close proto((int));
extern int dup proto((int));
extern int dup2 proto((int /*old_fd*/, int /*new_fd*/));
-extern long lseek proto((int /*fd*/, long /*offset*/, int /*whence*/));
-extern int fchmod proto((int /*fd*/, int /*mode*/));
+extern off_t lseek proto((int /*fd*/, off_t /*offset*/, int /*whence*/));
+extern int fchmod proto((int /*fd*/, mode_t /*mode*/));
extern int chown proto((const char *, int, int));
extern int unlink proto((const char */*path*/));
diff -rup --new-file baseline/bsd/jove/install.sh amiga/bsd/jove/install.sh
--- baseline/bsd/jove/install.sh Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/install.sh Sat Sep 28 00:00:00 1996
@@ -0,0 +1,119 @@
+#!/bin/sh
+
+#
+# install - install a program, script, or datafile
+# This comes from X11R5; it is not part of GNU.
+#
+# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+#
+
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit="${DOITPROG-}"
+
+
+# put in absolute paths if you don't have them in your path; or use env. vars.
+
+mvprog="${MVPROG-mv}"
+cpprog="${CPPROG-cp}"
+chmodprog="${CHMODPROG-chmod}"
+chownprog="${CHOWNPROG-chown}"
+chgrpprog="${CHGRPPROG-chgrp}"
+stripprog="${STRIPPROG-strip}"
+rmprog="${RMPROG-rm}"
+
+instcmd="$mvprog"
+chmodcmd=""
+chowncmd=""
+chgrpcmd=""
+stripcmd=""
+rmcmd="$rmprog -f"
+mvcmd="$mvprog"
+src=""
+dst=""
+
+while [ x"$1" != x ]; do
+ case $1 in
+ -c) instcmd="$cpprog"
+ shift
+ continue;;
+
+ -m) chmodcmd="$chmodprog $2"
+ shift
+ shift
+ continue;;
+
+ -o) chowncmd="$chownprog $2"
+ shift
+ shift
+ continue;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift
+ shift
+ continue;;
+
+ -s) stripcmd="$stripprog"
+ shift
+ continue;;
+
+ *) if [ x"$src" = x ]
+ then
+ src=$1
+ else
+ dst=$1
+ fi
+ shift
+ continue;;
+ esac
+done
+
+if [ x"$src" = x ]
+then
+ echo "install: no input file specified"
+ exit 1
+fi
+
+if [ x"$dst" = x ]
+then
+ echo "install: no destination specified"
+ exit 1
+fi
+
+
+# If destination is a directory, append the input filename; if your system
+# does not like double slashes in filenames, you may need to add some logic
+
+if [ -d $dst ]
+then
+ dst="$dst"/`basename $src`
+fi
+
+# Make a temp file name in the proper directory.
+
+dstdir=`dirname $dst`
+dsttmp=$dstdir/#inst.$$#
+
+# Move or copy the file name to the temp name
+
+$doit $instcmd $src $dsttmp
+
+# and set any options; do chmod last to preserve setuid bits
+
+if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
+if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
+if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
+if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
+
+# Now rename the file to the real destination.
+
+$doit $rmcmd $dst
+$doit $mvcmd $dsttmp $dst
+
+
+exit 0
diff -rup --new-file baseline/bsd/jove/jove.c amiga/bsd/jove/jove.c
--- baseline/bsd/jove/jove.c Thu Mar 7 10:34:42 1996
+++ amiga/bsd/jove/jove.c Sat Sep 28 00:00:00 1996
@@ -1535,7 +1535,7 @@ bool dousr;
(void) joverc(Joverc); /* system wide jove.rc */
}
- if (dousr) {
+ if (dousr && HomeDir != NULL) {
#ifdef MSFILESYSTEM
/* We don't want to run the same rc file twice */
if (!dosys || strcmp(HomeDir, ShareDir) != 0) {
diff -rup --new-file baseline/bsd/jove/manifests/bin amiga/bsd/jove/manifests/bin
--- baseline/bsd/jove/manifests/bin Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/manifests/bin Wed Oct 9 21:06:04 1996
@@ -0,0 +1,29 @@
+bin/jove
+bin/teachjove
+lib/jove/XTermresource
+lib/jove/cmds.doc
+lib/jove/jove.rc
+lib/jove/jove.rc.3022
+lib/jove/jove.rc.sun
+lib/jove/jove.rc.sun-cmd
+lib/jove/jove.rc.vt100
+lib/jove/jove.rc.wyse
+lib/jove/jove.rc.xterm
+lib/jove/jove.rc.z29
+lib/jove/kbd
+lib/jove/keychart.3022
+lib/jove/keychart.sun
+lib/jove/keychart.sun-cmd
+lib/jove/keychart.vt100
+lib/jove/keychart.wyse
+lib/jove/keychart.xterm
+lib/jove/keychart.z29
+lib/jove/portsrv
+lib/jove/recover
+lib/jove/teach-jove
+man/cat1/jove.0
+man/cat1/teachjove.0
+man/man1/jove.1
+man/man1/jovetool.1
+man/man1/teachjove.1
+man/man1/xjove.1
diff -rup --new-file baseline/bsd/jove/manifests/src amiga/bsd/jove/manifests/src
--- baseline/bsd/jove/manifests/src Wed Dec 31 17:00:00 1969
+++ amiga/bsd/jove/manifests/src Mon Sep 30 12:59:32 1996
@@ -0,0 +1,163 @@
+bsd/jove/Makefile.bcc
+bsd/jove/Makefile.in
+bsd/jove/Makefile.msc
+bsd/jove/Makefile.wat
+bsd/jove/Makefile.zor
+bsd/jove/Product-Info
+bsd/jove/README
+bsd/jove/README.amiga
+bsd/jove/README.dos
+bsd/jove/README.mac
+bsd/jove/README.w32
+bsd/jove/abbrev.c
+bsd/jove/abbrev.h
+bsd/jove/argcount.c
+bsd/jove/argcount.h
+bsd/jove/ask.c
+bsd/jove/ask.h
+bsd/jove/buf.c
+bsd/jove/buf.h
+bsd/jove/c.c
+bsd/jove/c.h
+bsd/jove/case.c
+bsd/jove/case.h
+bsd/jove/chars.h
+bsd/jove/commands.c
+bsd/jove/commands.h
+bsd/jove/commands.tab
+bsd/jove/configure
+bsd/jove/configure.in
+bsd/jove/dataobj.h
+bsd/jove/delete.c
+bsd/jove/delete.h
+bsd/jove/disp.c
+bsd/jove/disp.h
+bsd/jove/doc/README
+bsd/jove/doc/XTermresource
+bsd/jove/doc/cmds.macros.nr
+bsd/jove/doc/cmds.nr
+bsd/jove/doc/contents.nr
+bsd/jove/doc/example.rc
+bsd/jove/doc/intro.nr
+bsd/jove/doc/jove.nr
+bsd/jove/doc/jove.qref
+bsd/jove/doc/jove.rc
+bsd/jove/doc/jove.rc.3022
+bsd/jove/doc/jove.rc.sun
+bsd/jove/doc/jove.rc.sun-cmd
+bsd/jove/doc/jove.rc.vt100
+bsd/jove/doc/jove.rc.wyse
+bsd/jove/doc/jove.rc.xterm
+bsd/jove/doc/jove.rc.z29
+bsd/jove/doc/jovetool.nr
+bsd/jove/doc/keychart.
+bsd/jove/doc/keychart.3022
+bsd/jove/doc/keychart.sun
+bsd/jove/doc/keychart.sun-cmd
+bsd/jove/doc/keychart.vt100
+bsd/jove/doc/keychart.wyse
+bsd/jove/doc/keychart.xterm
+bsd/jove/doc/keychart.z29
+bsd/jove/doc/teach-jove
+bsd/jove/doc/teachjove.nr
+bsd/jove/doc/xjove.nr
+bsd/jove/extend.c
+bsd/jove/extend.h
+bsd/jove/externs.h
+bsd/jove/fmt.c
+bsd/jove/fmt.h
+bsd/jove/fp.c
+bsd/jove/fp.h
+bsd/jove/ibmpcdos.c
+bsd/jove/insert.c
+bsd/jove/insert.h
+bsd/jove/install.sh
+bsd/jove/io.c
+bsd/jove/io.h
+bsd/jove/iproc.c
+bsd/jove/iproc.h
+bsd/jove/jctype.c
+bsd/jove/jctype.h
+bsd/jove/jjove.rc
+bsd/jove/jjoveico.uue
+bsd/jove/jove.c
+bsd/jove/jove.h
+bsd/jove/keymaps.c
+bsd/jove/keymaps.h
+bsd/jove/keys.txt
+bsd/jove/list.c
+bsd/jove/list.h
+bsd/jove/mac.c
+bsd/jove/mac.h
+bsd/jove/macros.c
+bsd/jove/macros.h
+bsd/jove/manifests/bin
+bsd/jove/manifests/src
+bsd/jove/marks.c
+bsd/jove/marks.h
+bsd/jove/menumaps.txt
+bsd/jove/misc.c
+bsd/jove/misc.h
+bsd/jove/mjovers.Hqx
+bsd/jove/mouse.c
+bsd/jove/mouse.h
+bsd/jove/move.c
+bsd/jove/move.h
+bsd/jove/msgetch.c
+bsd/jove/paragraph.c
+bsd/jove/paragraph.h
+bsd/jove/portsrv.c
+bsd/jove/proc.c
+bsd/jove/proc.h
+bsd/jove/re.c
+bsd/jove/re.h
+bsd/jove/reapp.c
+bsd/jove/reapp.h
+bsd/jove/rec.c
+bsd/jove/rec.h
+bsd/jove/recover.c
+bsd/jove/recover.h
+bsd/jove/resource.h
+bsd/jove/scandir.c
+bsd/jove/scandir.h
+bsd/jove/screen.c
+bsd/jove/screen.h
+bsd/jove/select.h
+bsd/jove/setmaps.c
+bsd/jove/sysdep.doc
+bsd/jove/sysdep.h
+bsd/jove/sysprocs.h
+bsd/jove/teachjove.c
+bsd/jove/temp.h
+bsd/jove/term.c
+bsd/jove/term.h
+bsd/jove/termcap.c
+bsd/jove/ttystate.h
+bsd/jove/tune.doc
+bsd/jove/tune.h
+bsd/jove/unix.c
+bsd/jove/util.c
+bsd/jove/util.h
+bsd/jove/vars.c
+bsd/jove/vars.h
+bsd/jove/vars.tab
+bsd/jove/version.h
+bsd/jove/win32.c
+bsd/jove/wind.c
+bsd/jove/wind.h
+bsd/jove/xjove/Makefile
+bsd/jove/xjove/README
+bsd/jove/xjove/copy.cursor
+bsd/jove/xjove/cut.cursor
+bsd/jove/xjove/exts.h
+bsd/jove/xjove/jove.cursor
+bsd/jove/xjove/jove.icon
+bsd/jove/xjove/jovemenu.c
+bsd/jove/xjove/jovetool.c
+bsd/jove/xjove/jovewindows.c
+bsd/jove/xjove/jovewindows.h
+bsd/jove/xjove/mousemsg.h
+bsd/jove/xjove/paste.cursor
+bsd/jove/xjove/xjove.c
+bsd/jove/xjove/xjovewindows.c
+bsd/jove/xjove/xjovewindows.h
diff -rup --new-file baseline/bsd/jove/portsrv.c amiga/bsd/jove/portsrv.c
--- baseline/bsd/jove/portsrv.c Thu Mar 7 10:34:43 1996
+++ amiga/bsd/jove/portsrv.c Sat Sep 28 00:00:00 1996
@@ -70,7 +70,7 @@ kbd_process()
lump.header.nbytes = n;
/* It is not clear what we can do if this write fails */
do ; while (write(1, (UnivPtr) &lump, sizeof(struct header) + n) < 0
- && errno = EINTR);
+ && errno == EINTR);
}
}
@@ -85,7 +85,7 @@ UnivConstPtr ptr;
size_t n;
{
/* It is not clear what we can do if this write fails */
- do ; while (write(1, ptr, n) < 0 && errno = EINTR);
+ do ; while (write(1, ptr, n) < 0 && errno == EINTR);
}
private void
@@ -155,7 +155,7 @@ char **argv;
byte_copy((UnivConstPtr) &pid, (UnivPtr) lump.data, sizeof(pid_t));
/* It is not clear what we can do if this write fails */
do ; while (write(1, (UnivConstPtr) &lump, sizeof(struct header) + sizeof(pid_t)) < 0
- && errno = EINTR);
+ && errno == EINTR);
/* read proc's output and send it to jove */
read_pipe(p[0]);
@@ -181,7 +181,7 @@ char **argv;
/* It is not clear what we can do if this write fails */
do ; while (write(1, (UnivConstPtr) &lump,
sizeof(struct header) + sizeof(wait_status_t)) < 0
- && errno = EINTR);
+ && errno == EINTR);
}
}
diff -rup --new-file baseline/bsd/jove/sysdep.h amiga/bsd/jove/sysdep.h
--- baseline/bsd/jove/sysdep.h Mon Mar 18 21:44:33 1996
+++ amiga/bsd/jove/sysdep.h Sat Sep 28 00:00:00 1996
@@ -348,6 +348,10 @@
# define STACK_DECL unsigned int _stklen = 0x2000; /* Borland's way of specifying stack size */
#endif
+#ifdef __amigaos__
+# define TERMIOS 1
+#endif
+
/* All the systems marked with XXX_ are ones that this version of Jove (4.16)
* has not been tested on. 4.15 was the transition from implicit #ifdefs
* scattered throughout the code to feature-based ifdefs that MUST be
diff -rup --new-file baseline/bsd/jove/sysprocs.h amiga/bsd/jove/sysprocs.h
--- baseline/bsd/jove/sysprocs.h Thu Mar 7 10:34:43 1996
+++ amiga/bsd/jove/sysprocs.h Sat Sep 28 00:00:00 1996
@@ -33,7 +33,9 @@
#else /*!POSIX_PROCS*/
+#ifndef __amigaos__
typedef int pid_t;
+#endif
# ifdef BSD_WAIT
diff -rup --new-file baseline/bsd/jove/teachjove.c amiga/bsd/jove/teachjove.c
--- baseline/bsd/jove/teachjove.c Thu Mar 7 10:34:43 1996
+++ amiga/bsd/jove/teachjove.c Sat Sep 28 00:00:00 1996
@@ -62,8 +62,12 @@ char *argv[];
/* ??? "teach-jove" is too long for MSDOS */
(void) sprintf(teachjove, "%s/teach-jove", ShareDir);
if ((home = getenv("HOME")) == NULL) {
+#ifdef __amigaos__
+ home = "/tmp";
+#else
printf("teachjove: cannot find your home!\n");
exit(-1);
+#endif
}
/* ??? "teach-jove" is too long for MSDOS */
(void) sprintf(fname, "%s/teach-jove", home);
diff -rup --new-file baseline/bsd/jove/termcap.c amiga/bsd/jove/termcap.c
--- baseline/bsd/jove/termcap.c Fri Mar 8 14:46:40 1996
+++ amiga/bsd/jove/termcap.c Sat Sep 28 00:00:00 1996
@@ -176,7 +176,12 @@ getTERM()
|| strcmp(termname, "network") == 0)
{
int len;
+#ifdef __amigaos__
+ putstr("No TERM environment variable set, recommend \"setenv TERM=amiga\"\n");
+ putstr("Enter terminal type (e.g, amiga): ");
+#else
putstr("Enter terminal type (e.g, vt100): ");
+#endif
flushscreen();
len = read(0, (UnivPtr) termnmbuf, sizeof(termnmbuf));
termnmbuf[len > 1? len - 1 : 0] = '\0';
diff -rup --new-file baseline/bsd/jove/util.h amiga/bsd/jove/util.h
--- baseline/bsd/jove/util.h Thu Mar 7 10:34:43 1996
+++ amiga/bsd/jove/util.h Sat Sep 28 00:00:00 1996
@@ -67,6 +67,9 @@ extern void
ins_c proto((DAPchar c,char *buf,int atchar,int num,int max)),
len_error proto((int flag)),
linecopy proto((char *onto,int atchar,char *from)),
+#if 0
+ make_argv proto((char * *argv, va_list ap)),
+#endif
modify proto((void)),
diverge proto((Buffer *buf, bool d)),
null_ncpy proto((char *to, const char *from, size_t n)),