Subject: pkg/11142: pkgsrc/shells/scsh scsh-0.5.1 -> scsh-0.5.2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <smd@ebone.net>
List: netbsd-bugs
Date: 10/05/2000 15:57:43
>Number: 11142
>Category: pkg
>Synopsis: pkgsrc/shells/scsh scsh-0.5.1 -> scsh-0.5.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Oct 05 06:58:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Sean Doran
>Release: 2000 10 05
>Organization:
Ebone
>Environment:
System: NetBSD sean.ebone.net 1.5F NetBSD 1.5F (EBONE) #0: Fri Sep 22 14:06:23 CEST 2000 smd@sean.ebone.net:/usr/src/sys/arch/i386/compile/EBONE i386
>Description:
scsh is now released at 0.5.2
changes:
BSD-style copyright
New char-sets and char-set operations
New regular expression system
New libraries (SRFI-1 list library, string-processing)
Some function name cleanup
Many many bugfixes
>How-To-Repeat:
>Fix:
unshar and enjoy (but also update CVS tags)
small buglet: let-match-package is not opened by default because
smd can't wrap his head around the scheme48 package system
enough to fix this today
not a big problem: scripts can be provided the -o let-match-package
where it should be open and the ",open" directive DTRT in an
interactive shell started without the -o argument.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# Makefile
# files/md5
# files/patch-sum
# pkg/COMMENT
# pkg/CVS
# pkg/DESCR
# pkg/PLIST
# patches/patch-aa
# patches/patch-ab
# patches/patch-ac
# patches/patch-ad
# patches/patch-ae
# patches/patch-af
# patches/patch-ag
# patches/patch-ah
# patches/patch-ai
# patches/patch-aj
# patches/patch-ak
# patches/patch-al
# patches/patch-am
# patches/patch-an
# patches/patch-ao
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD: Makefile,v 1.11 2000/02/05 06:04:09 wiz Exp $
X# FreeBSD Id: Makefile,v 1.4 1997/07/15 15:00:30 cracauer Exp
X#
X
XDISTNAME= scsh-0.5.2
XCATEGORIES= shells lang
XMASTER_SITES= ftp://ftp-swiss.ai.mit.edu/pub/su/scsh/
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://www-swiss.ai.mit.edu/scsh/
X
XNOT_FOR_PLATFORM= *-*-alpha # Needs scheme
X
XGNU_CONFIGURE= yes
X
XALL_TARGET= enough
XMAKE_ENV= INSTALL_PROGRAM='${INSTALL_PROGRAM}' \
X INSTALL_SCRIPT='${INSTALL_SCRIPT}' \
X INSTALL_DATA='${INSTALL_DATA}'
X
Xpost-configure:
X cd ${WRKSRC}; ${SED} -e '/LIBGEN/d' sysdep.h >xx ; ${MV} xx sysdep.h
X
Xpost-install:
X @strip ${PREFIX}/bin/scsh
X (cd ${WRKSRC} ; \
X ${INSTALL_DATA} README RELEASE NEWS COPYING ${PREFIX}/lib/scsh/doc)
X ${RM} -f ${PREFIX}/share/doc/scsh
X ${LN} -fs ${PREFIX}/lib/scsh/doc ${PREFIX}/share/doc/scsh
X
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
X$NetBSD: md5,v 1.2 1998/08/07 13:27:38 agc Exp $
X
XMD5 (scsh-0.5.1.tar.gz) = 907dfc1202bff6b4aa416d2026dbdd19
XMD5 (scsh-0.5.2.tar.gz) = 6661518731117eb21eda644aa5babe46
END-of-files/md5
echo x - files/patch-sum
sed 's/^X//' >files/patch-sum << 'END-of-files/patch-sum'
X$NetBSD: patch-sum,v 1.3 2000/05/20 23:05:39 dmcmahill Exp $
X
XMD5 (patch-aa) = 827bcce9bec64d2c3ac5b948a71475c6
XMD5 (patch-ab) = df53020f5f1b12486fc426f92e154a30
XMD5 (patch-ac) = ac0e044700bea35dd7b88768c10e1e2b
XMD5 (patch-ad) = 6b90b4233b175d2140f4b357fc665fc3
XMD5 (patch-ae) = 1078379e1bd89f6d63e0b4db95120c46
XMD5 (patch-af) = d897362062386ea35fabf59bfbd299f3
XMD5 (patch-ag) = d3e067a90e4b55d2d27bdef28aa8ad97
XMD5 (patch-ah) = 6eb3bb6e657ad5d802c32062aafc37ab
XMD5 (patch-ai) = 7157ce97b6c188f58d76be0f634c98d0
XMD5 (patch-aj) = e7e1a66a5508a468300995ede56d4e63
XMD5 (patch-ak) = ccc9c96811c752f8d1a2d7981b359775
XMD5 (patch-al) = 0932bbf48119a32cd5e9a5439ae45a95
XMD5 (patch-am) = 88cd33b879e4c4801b4b54ca6becbe33
XMD5 (patch-an) = e3d484b102161d4f6444e0d4930bec05
XMD5 (patch-ao) = 5791cca7035a3712371fbd9db7f70065
END-of-files/patch-sum
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XUnix shell embedded into Scheme, with access to all Posix calls
END-of-pkg/COMMENT
echo c - pkg/CVS
mkdir -p pkg/CVS > /dev/null 2>&1
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XScsh is a Unix shell in that is has significant syntax extensions to
Xmake writing Unix shell scripts easy (constructing pipelines, setting
XI/O redirection, conditional execution etc.). It also offers access to
Xlower-level functionality like all Posix system calls, TCP/IP sockets
Xand a full-featured regular expression library. This is embedded into
Xa general-purpose programming language with real data types,
Xextensive, syntactically clean control constructs and "real" quoting
Xrules.
X
XScsh is also a full implementation of R4RS Scheme with some
Xnon-standard behavior (required for scripting). As a result, a wide
Xvarity of exiting Scheme code can be used.
X
XThe underlying Scheme implementation is a virtual machine for compact
Xbyte code.
X
XThe name of the installed program is "scsh", the manpage is scsh(1),
Xother documentation is in (/usr/local/)lib/scsh/doc
X
XTo load slib, install slib into /usr/local/lib/slib and run
X(load "slib-init.scm")
Xin scsh. It requires no additional setup (paths or such).
X
XThe emacs interface is in the original distribution in emacs/. For
Xdocumentation see doc/user-guide.txt.
END-of-pkg/DESCR
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.4 1998/05/09 00:14:24 hubertf Exp $
Xbin/scsh
Xman/man1/scsh.1.gz
Xlib/scsh/big/array.scm
Xlib/scsh/big/big-util.scm
Xlib/scsh/big/bigbit.scm
Xlib/scsh/big/compose-cont.scm
Xlib/scsh/big/defrecord.scm
Xlib/scsh/big/destructure.scm
Xlib/scsh/big/dump.scm
Xlib/scsh/big/external.scm
Xlib/scsh/big/filename.scm
Xlib/scsh/big/format.scm
Xlib/scsh/big/general-table.scm
Xlib/scsh/big/lu-decomp.scm
Xlib/scsh/big/new-ports.scm
Xlib/scsh/big/pp.scm
Xlib/scsh/big/queue.scm
Xlib/scsh/big/random.scm
Xlib/scsh/big/receive.scm
Xlib/scsh/big/search-tree.scm
Xlib/scsh/big/sleep.scm
Xlib/scsh/big/sort.scm
Xlib/scsh/big/thread.scm
Xlib/scsh/big/xport.scm
Xlib/scsh/cig/cig
Xlib/scsh/cig/cig.image
Xlib/scsh/cig/libscshvm.a
Xlib/scsh/cig/libcig.h
Xlib/scsh/doc/COPYING
Xlib/scsh/doc/NEWS
Xlib/scsh/doc/RELEASE
Xlib/scsh/doc/README
Xlib/scsh/doc/scsh-manual/awk.tex
Xlib/scsh/doc/scsh-manual/changes.tex
Xlib/scsh/doc/scsh-manual/decls.tex
Xlib/scsh/doc/scsh-manual/front.tex
Xlib/scsh/doc/scsh-manual/intro.tex
Xlib/scsh/doc/scsh-manual/man.tex
Xlib/scsh/doc/scsh-manual/miscprocs.tex
Xlib/scsh/doc/scsh-manual/network.tex
Xlib/scsh/doc/scsh-manual/procnotation.tex
Xlib/scsh/doc/scsh-manual/rdelim.tex
Xlib/scsh/doc/scsh-manual/running.tex
Xlib/scsh/doc/scsh-manual/sre.tex
Xlib/scsh/doc/scsh-manual/strings.tex
Xlib/scsh/doc/scsh-manual/syscalls.tex
Xlib/scsh/doc/scsh-manual/test.tex
Xlib/scsh/doc/scsh-manual/todo.tex
Xlib/scsh/doc/scsh-manual/tty.tex
Xlib/scsh/doc/scsh-manual/xman.tex
Xlib/scsh/doc/big-scheme.txt
Xlib/scsh/doc/call-back.txt
Xlib/scsh/doc/cheat.txt
Xlib/scsh/doc/external.txt
Xlib/scsh/doc/hacking.txt
Xlib/scsh/doc/install.s48-0.36.txt
Xlib/scsh/doc/install.txt
Xlib/scsh/doc/no-leaf-env.txt
Xlib/scsh/doc/olins-changes.txt
Xlib/scsh/doc/package.txt
Xlib/scsh/doc/scsh-src-roadmap.txt
Xlib/scsh/doc/threads.txt
Xlib/scsh/doc/type.txt
Xlib/scsh/doc/user-guide.txt
Xlib/scsh/doc/code.tex
Xlib/scsh/doc/latex-stuff.tex
Xlib/scsh/doc/meeting.tex
Xlib/scsh/doc/module.tex
Xlib/scsh/doc/scsh-paper.tex
Xlib/scsh/doc/summary.tex
Xlib/scsh/doc/meeting.ps
Xlib/scsh/doc/module.ps
Xlib/scsh/doc/scsh-manual.ps
Xlib/scsh/doc/scsh-paper.ps
Xlib/scsh/env/assem.scm
Xlib/scsh/env/basic-command.scm
Xlib/scsh/env/build.scm
Xlib/scsh/env/command.scm
Xlib/scsh/env/debug.scm
Xlib/scsh/env/debuginfo.scm
Xlib/scsh/env/disasm.scm
Xlib/scsh/env/disclosers.scm
Xlib/scsh/env/dispcond.scm
Xlib/scsh/env/flatload.scm
Xlib/scsh/env/init-defpackage.scm
Xlib/scsh/env/inspect.scm
Xlib/scsh/env/jar-assem.scm
Xlib/scsh/env/list-interface.scm
Xlib/scsh/env/load-package.scm
Xlib/scsh/env/more-thread.scm
Xlib/scsh/env/pacman.scm
Xlib/scsh/env/pedit.scm
Xlib/scsh/env/read-command.scm
Xlib/scsh/env/shadow.scm
Xlib/scsh/env/space.scm
Xlib/scsh/env/start.scm
Xlib/scsh/env/traverse.scm
Xlib/scsh/env/version-info.scm
Xlib/scsh/link/data.scm
Xlib/scsh/link/generate-c-header.scm
Xlib/scsh/link/link.scm
Xlib/scsh/link/loadc.scm
Xlib/scsh/link/reify.scm
Xlib/scsh/link/transport.scm
Xlib/scsh/link/write-image.scm
Xlib/scsh/misc/annotate.scm
Xlib/scsh/misc/argument.scm
Xlib/scsh/misc/doodl.scm
Xlib/scsh/misc/either.scm
Xlib/scsh/misc/getenv.scm
Xlib/scsh/misc/hilbert.scm
Xlib/scsh/misc/ilength.scm
Xlib/scsh/misc/integertostring.scm
Xlib/scsh/misc/load-static.scm
Xlib/scsh/misc/mail.scm
Xlib/scsh/misc/packages.scm
Xlib/scsh/misc/psd-s48.scm
Xlib/scsh/misc/remote.scm
Xlib/scsh/misc/require.scm
Xlib/scsh/misc/separate.scm
Xlib/scsh/misc/shift-reset.scm
Xlib/scsh/misc/sicp.scm
Xlib/scsh/misc/slib-init.scm
Xlib/scsh/misc/socket.scm
Xlib/scsh/misc/static.scm
Xlib/scsh/misc/test-doodl.scm
Xlib/scsh/opt/analyze.scm
Xlib/scsh/opt/expand.scm
Xlib/scsh/opt/inline.scm
Xlib/scsh/opt/tst.scm
Xlib/scsh/scsh/rx/cond-package.scm
Xlib/scsh/scsh/rx/let-match.scm
Xlib/scsh/scsh/rx/loadem.scm
Xlib/scsh/scsh/rx/modules.scm
Xlib/scsh/scsh/rx/oldfuns.scm
Xlib/scsh/scsh/rx/packages-old.scm
Xlib/scsh/scsh/rx/packages-old2.scm
Xlib/scsh/scsh/rx/packages.scm
Xlib/scsh/scsh/rx/parse.scm
Xlib/scsh/scsh/rx/posixstr.scm
Xlib/scsh/scsh/rx/re-fold.scm
Xlib/scsh/scsh/rx/re-high.scm
Xlib/scsh/scsh/rx/re-low.scm
Xlib/scsh/scsh/rx/re-subst.scm
Xlib/scsh/scsh/rx/re-syntax.scm
Xlib/scsh/scsh/rx/re.scm
Xlib/scsh/scsh/rx/regress.scm
Xlib/scsh/scsh/rx/rx-lib.scm
Xlib/scsh/scsh/rx/simp.scm
Xlib/scsh/scsh/rx/spencer.scm
Xlib/scsh/scsh/rx/test.scm
Xlib/scsh/scsh/lib/ccp-pack.scm
Xlib/scsh/scsh/lib/ccp.scm
Xlib/scsh/scsh/lib/list-lib.scm
Xlib/scsh/scsh/lib/list-pack.scm
Xlib/scsh/scsh/lib/string-lib.scm
Xlib/scsh/scsh/lib/string-pack.scm
Xlib/scsh/scsh/machine/bufpol.scm
Xlib/scsh/scsh/machine/errno.scm
Xlib/scsh/scsh/machine/fdflags.scm
Xlib/scsh/scsh/machine/netconst.scm
Xlib/scsh/scsh/machine/packages.scm
Xlib/scsh/scsh/machine/signals.scm
Xlib/scsh/scsh/machine/time_dep.scm
Xlib/scsh/scsh/machine/tty-consts.scm
Xlib/scsh/scsh/machine/waitcodes.scm
Xlib/scsh/scsh/awk.scm
Xlib/scsh/scsh/char-set.scm
Xlib/scsh/scsh/db.scm
Xlib/scsh/scsh/dbm.scm
Xlib/scsh/scsh/defrec.scm
Xlib/scsh/scsh/ekko.scm
Xlib/scsh/scsh/endian.scm
Xlib/scsh/scsh/enumconst.scm
Xlib/scsh/scsh/fdports.scm
Xlib/scsh/scsh/fileinfo.scm
Xlib/scsh/scsh/filemtch.scm
Xlib/scsh/scsh/filesys.scm
Xlib/scsh/scsh/flock.scm
Xlib/scsh/scsh/fname.scm
Xlib/scsh/scsh/fr.scm
Xlib/scsh/scsh/glob.scm
Xlib/scsh/scsh/here.scm
Xlib/scsh/scsh/jcontrol.scm
Xlib/scsh/scsh/jcontrol2.scm
Xlib/scsh/scsh/let-opt.scm
Xlib/scsh/scsh/meta-arg.scm
Xlib/scsh/scsh/ndbm.scm
Xlib/scsh/scsh/network.scm
Xlib/scsh/scsh/pty.scm
Xlib/scsh/scsh/newports.scm
Xlib/scsh/scsh/old-static.scm
Xlib/scsh/scsh/oldtop.scm
Xlib/scsh/scsh/procobj.scm
Xlib/scsh/scsh/rdelim.scm
Xlib/scsh/scsh/rw.scm
Xlib/scsh/scsh/scsh-condition.scm
Xlib/scsh/scsh/scsh-interfaces.scm
Xlib/scsh/scsh/scsh-package.scm
Xlib/scsh/scsh/scsh-read.scm
Xlib/scsh/scsh/scsh-version.scm
Xlib/scsh/scsh/scsh.scm
Xlib/scsh/scsh/select.scm
Xlib/scsh/scsh/sighandlers.scm
Xlib/scsh/scsh/startup.scm
Xlib/scsh/scsh/static-heap.scm
Xlib/scsh/scsh/static.scm
Xlib/scsh/scsh/static1.scm
Xlib/scsh/scsh/stringcoll.scm
Xlib/scsh/scsh/syntax-helpers.scm
Xlib/scsh/scsh/syntax.scm
Xlib/scsh/scsh/syscalls.scm
Xlib/scsh/scsh/time.scm
Xlib/scsh/scsh/top.scm
Xlib/scsh/scsh/tty.scm
Xlib/scsh/scsh/utilities.scm
Xlib/scsh/rts/bignum.scm
Xlib/scsh/rts/defenum.scm
Xlib/scsh/rts/enum.scm
Xlib/scsh/rts/floatnum.scm
Xlib/scsh/rts/innum.scm
Xlib/scsh/rts/ratnum.scm
Xlib/scsh/rts/recnum.scm
Xlib/scsh/rts/xnum.scm
Xlib/scsh/rts/jar-defrecord.scm
Xlib/scsh/vm/arch.scm
Xlib/scsh/vm/arith.scm
Xlib/scsh/vm/data.scm
Xlib/scsh/vm/defenum.scm
Xlib/scsh/vm/define-primitive.scm
Xlib/scsh/vm/disasm.scm
Xlib/scsh/vm/env.scm
Xlib/scsh/vm/external.scm
Xlib/scsh/vm/gc.scm
Xlib/scsh/vm/heap.scm
Xlib/scsh/vm/interfaces.scm
Xlib/scsh/vm/interp.scm
Xlib/scsh/vm/macro-package-defs.scm
Xlib/scsh/vm/memory.scm
Xlib/scsh/vm/package-defs.scm
Xlib/scsh/vm/prescheme.scm
Xlib/scsh/vm/prim.scm
Xlib/scsh/vm/ps-interface.scm
Xlib/scsh/vm/ps-memory.scm
Xlib/scsh/vm/ps-package-defs.scm
Xlib/scsh/vm/ps-package.scm
Xlib/scsh/vm/resume.scm
Xlib/scsh/vm/s48-package-defs.scm
Xlib/scsh/vm/stack.scm
Xlib/scsh/vm/stob.scm
Xlib/scsh/vm/struct.scm
Xlib/scsh/vm/vm-utilities.scm
Xlib/scsh/vm/vmio.scm
Xlib/scsh/scshvm
Xlib/scsh/scsh.image
Xlib/scsh/libscshvm.a
Xlib/scsh/emacs/README
Xlib/scsh/emacs/cmulisp.el
Xlib/scsh/emacs/cmuscheme.el
Xlib/scsh/emacs/cmuscheme48.el
Xlib/scsh/emacs/cmushell.el
Xlib/scsh/emacs/comint.el
Xlib/scsh/emacs/jar-hacks.el
X@exec ln -fs %D/lib/scsh/doc %D/share/doc/scsh
X@unexec rm -f %D/share/doc/scsh
X@dirrm lib/scsh/emacs
X@dirrm lib/scsh/big
X@dirrm lib/scsh/cig
X@dirrm lib/scsh/doc/scsh-manual
X@dirrm lib/scsh/doc
X@dirrm lib/scsh/env
X@dirrm lib/scsh/link
X@dirrm lib/scsh/misc
X@dirrm lib/scsh/opt
X@dirrm lib/scsh/scsh/rx
X@dirrm lib/scsh/scsh/lib
X@dirrm lib/scsh/scsh/machine
X@dirrm lib/scsh/scsh
X@dirrm lib/scsh/rts
X@dirrm lib/scsh/vm
X@dirrm lib/scsh
END-of-pkg/PLIST
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
X+++ Makefile.in Sun Oct 1 21:46:02 2000
X@@ -139,7 +139,7 @@
X
X # The following is the first rule and therefore the "make" command's
X # default target.
X+enough: $(VM) $(IMAGE) script $(LIBCIG) scsh $(LIBSCSH) $(MANPAGE)
X
X # The developers are curious to know. Don't be concerned if this fails.
X # You may comment these lines out if you wish to be discourteous.
X@@ -156,6 +156,9 @@
X .scm.c:
X $(srcdir)/$(VM) -o $(srcdir)/$(VM) -i $(CIG) < $< > $*.c
X
X+scsh/rdelim.c:
X+ $(srcdir)/$(VM) -o $(srcdir)/$(VM) -i $(CIG) < $< > $*.c
X+
X # These .h files mediate between the code exported from foo1.c
X # and imported into foo.scm's stub foo.c.
X
X@@ -277,6 +280,7 @@
X $(RM) -r $(LIB).old
X if [ -d $(LIB) ] ; then mv $(LIB) $(LIB).old ; fi
X mkdir $(LIB)
X+ mkdir $(LIB)/emacs
X mkdir $(LIB)/big
X mkdir $(LIB)/cig
X mkdir $(LIB)/doc
X@@ -286,6 +290,9 @@
X mkdir $(LIB)/misc
X mkdir $(LIB)/opt
X mkdir $(LIB)/scsh
X+ mkdir $(LIB)/scsh/rx
X+ mkdir $(LIB)/scsh/lib
X+ mkdir $(LIB)/scsh/machine
X mkdir $(LIB)/rts
X mkdir $(LIB)/vm
X
X@@ -304,8 +311,8 @@
X $(INSTALL_DATA) $(srcdir)/scheme48.h $(incdir)/
X
X install-cig: cig
X- $(INSTALL_PROGRAM) $(srcdir)/$(CIG) $(LIB)/cig
X- $(INSTALL_PROGRAM) $(srcdir)/$(CIG).image $(LIB)/cig
X+ $(INSTALL_SCRIPT) $(srcdir)/$(CIG) $(LIB)/cig
X+ $(INSTALL_SCRIPT) $(srcdir)/$(CIG).image $(LIB)/cig
X $(INSTALL_DATA) $(srcdir)/$(LIBCIG) $(LIB)/cig
X $(INSTALL_DATA) $(srcdir)/cig/libcig.h $(LIB)/cig
X
X@@ -313,6 +320,7 @@
X $(LIB)/misc $(LIB)/link $(LIB)/vm $(LIB)/doc
X for f in $(srcdir)/rts/*num.scm; \
X do $(INSTALL_DATA) $$f $(LIB)/rts/; done
X+ for f in $(srcdir)/emacs/*; do $(INSTALL_DATA) $$f $(LIB)/emacs/; done
X for f in $(srcdir)/env/*.scm; do $(INSTALL_DATA) $$f $(LIB)/env/; done
X for f in $(srcdir)/big/*.scm; do $(INSTALL_DATA) $$f $(LIB)/big/; done
X for f in $(srcdir)/opt/*.scm; do $(INSTALL_DATA) $$f $(LIB)/opt/; done
X@@ -627,7 +635,8 @@
X scsh/time.scm \
X scsh/top.scm \
X scsh/tty.scm \
X- scsh/utilities.scm
X+ scsh/utilities.scm \
X+ scsh/rx/let-match.scm
X
X # scsh/dbm.scm db.scm ndbm.scm
X # static.scm static-heap.scm static1.scm
X@@ -656,6 +665,7 @@
X $(srcdir)/scsh/machine/packages.scm \
X $(srcdir)/scsh/rx/packages.scm \
X $(srcdir)/scsh/rx/cond-package.scm \
X+ $(srcdir)/scsh/rx/let-match.scm \
X $(srcdir)/scsh/scsh-package.scm \
X $(srcdir)/scsh/lib/string-pack.scm \
X $(srcdir)/scsh/lib/list-pack.scm \
X@@ -711,13 +721,20 @@
X
X install-scsh: scsh
X $(RM) $(bindir)/$(RUNNABLE)$(EXEEXT)
X- $(INSTALL_PROGRAM) $(srcdir)/scsh/scsh$(EXEEXT) \
X+ $(INSTALL_SCRIPT) $(srcdir)/scsh/scsh$(EXEEXT) \
X $(bindir)/$(RUNNABLE)$(EXEEXT)
X- $(INSTALL_PROGRAM) $(srcdir)/scsh/scsh.image $(LIB)/scsh.image
X- $(INSTALL_PROGRAM) $(srcdir)/$(LIBSCSH) $(libdir)/$(LIBSCSH)
X+ $(INSTALL_SCRIPT) $(srcdir)/scsh/scsh.image $(LIB)/scsh.image
X+ $(INSTALL_DATA) $(srcdir)/$(LIBSCSH) $(libdir)/$(LIBSCSH)
X $(RANLIB) $(libdir)/$(LIBSCSH)
X for f in $(srcdir)/scsh/*.scm; \
X do $(INSTALL_DATA) $$f $(LIB)/scsh/; done
X+ for f in $(srcdir)/scsh/lib/*.scm; \
X+ do $(INSTALL_DATA) $$f $(LIB)/scsh/lib/; done
X+ for f in $(srcdir)/scsh/rx/*.scm; \
X+ do $(INSTALL_DATA) $$f $(LIB)/scsh/rx/; done
X+ for f in $(srcdir)/scsh/machine/*.scm; \
X+ do $(INSTALL_DATA) $$f $(LIB)/scsh/machine/; done
X+
X
X clean-scsh:
X $(RM) scsh/*.o scsh/regexp/*.o scsh/rx/*.o scsh/machine/*.o
END-of-patches/patch-aa
echo x - patches/patch-ab
sed 's/^X//' >patches/patch-ab << 'END-of-patches/patch-ab'
X$NetBSD: patch-ab,v 1.2 1998/08/07 11:13:55 agc Exp $
X
X*** env/command.scm.original Tue Nov 26 15:59:38 1996
X***************
X*** 546,552 ****
X ((char=? (string-ref line 0) #\n) #f)
X (else (loop count)))))))
X
X! (define *y-or-n-eof-count* 100)
X
X (define (read-line port)
X (let loop ((l '()))
X--- 546,552 ----
X ((char=? (string-ref line 0) #\n) #f)
X (else (loop count)))))))
X
X! (define *y-or-n-eof-count* 0)
X
X (define (read-line port)
X (let loop ((l '()))
END-of-patches/patch-ab
echo x - patches/patch-ac
sed 's/^X//' >patches/patch-ac << 'END-of-patches/patch-ac'
X$NetBSD: patch-ac,v 1.2 1998/08/07 11:13:55 agc Exp $
X
X*** configure.in.original Tue Nov 26 17:10:41 1996
X***************
X*** 220,226 ****
X fi
X
X AR=${AR-"ar cq"}
X! TMPDIR=${TMPDIR-"/usr/tmp"}
X
X case "$host" in
X
X--- 220,226 ----
X fi
X
X AR=${AR-"ar cq"}
X! TMPDIR=${TMPDIR-"/var/tmp"}
X
X case "$host" in
X
END-of-patches/patch-ac
echo x - patches/patch-ad
sed 's/^X//' >patches/patch-ad << 'END-of-patches/patch-ad'
X$NetBSD: patch-ad,v 1.2 1998/08/07 11:13:56 agc Exp $
X
X*** configure.original Tue Nov 26 17:55:51 1996
X***************
X*** 1017,1023 ****
X fi
X
X AR=${AR-"ar cq"}
X! TMPDIR=${TMPDIR-"/usr/tmp"}
X
X case "$host" in
X
X--- 1017,1023 ----
X fi
X
X AR=${AR-"ar cq"}
X! TMPDIR=${TMPDIR-"/var/tmp"}
X
X case "$host" in
X
END-of-patches/patch-ad
echo x - patches/patch-ae
sed 's/^X//' >patches/patch-ae << 'END-of-patches/patch-ae'
X$NetBSD: patch-ae,v 1.3 1999/11/27 23:33:24 rh Exp $
X
X+++ scsh/scsh.scm Sun Nov 28 00:30:14 1999
X@@ -298,7 +298,7 @@
X (list (string-append (car maybe-prefix) ".~a"))))))
X
X (define *temp-file-template*
X- (make-fluid (string-append "/usr/tmp/" (number->string (pid)) ".~a")))
X+ (make-fluid (string-append "/var/tmp/" (number->string (pid)) ".~a")))
X
X
X (define (temp-file-iterate maker . maybe-template)
END-of-patches/patch-ae
echo x - patches/patch-af
sed 's/^X//' >patches/patch-af << 'END-of-patches/patch-af'
X$NetBSD: patch-af,v 1.1 1999/06/04 16:00:04 sommerfeld Exp $
X
X*** scsh/bsd/sigset.h.original Fri Oct 13 23:33:55 1995
X***************
X*** 2,10 ****
X--- 2,34 ----
X ** These macros are OS-dependent, and must be defined per-OS.
X */
X
X+ #if defined(__NetBSD__)
X+ #include <sys/param.h>
X+ #endif
X+
X+ #if defined(__NetBSD__) && defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 103080000)
X+ /* Barf */
X+
X+ #if _NSIG > 48
X+ #error Too many signals! Fix scsh to save more of them!
X+ #endif
X+
X+ #define make_sigset(maskp, hi, lo) do { __sigemptyset(maskp); \
X+ (maskp)->__bits[0] = ((hi)<<24)|(lo); \
X+ (maskp)->__bits[1] = ((hi)>>8); \
X+ } while(0)
X+
X+ /* Not a procedure: */
X+ #define split_sigset(mask, hip, lop) \
X+ ((*(hip)=((mask.__bits[0]>>24)&0xff) | (mask.__bits[1]<<8)), \
X+ (*(lop)=(mask.__bits[0]&0xffffff)))
X+
X+ #else
X+
X #define make_sigset(maskp, hi, lo) (*maskp=((hi)<<24)|(lo))
X
X /* Not a procedure: */
X #define split_sigset(mask, hip, lop) \
X ((*(hip)=(mask>>24)&0xff), \
X (*(lop)=(mask&0xffffff)))
X+ #endif
END-of-patches/patch-af
echo x - patches/patch-ag
sed 's/^X//' >patches/patch-ag << 'END-of-patches/patch-ag'
X$NetBSD: patch-ag,v 1.1 1999/06/04 16:00:04 sommerfeld Exp $
X
X+++ scsh/bsd/signals.scm Fri Jun 4 11:15:50 1999
X@@ -65,6 +65,9 @@
X ;; User defined
X (usr1 30) ; user defined signal 1
X (usr2 31) ; user defined signal 2
X+
X+ ;; NetBSD 1.4
X+ (pwr 32) ; impending power failure
X )
X
X (define signals-ignored-by-default
END-of-patches/patch-ag
echo x - patches/patch-ah
sed 's/^X//' >patches/patch-ah << 'END-of-patches/patch-ah'
X$NetBSD: patch-ah,v 1.1 1999/06/04 16:00:04 sommerfeld Exp $
X
X+++ scsh/bsd/signals1.c Fri Jun 4 11:33:37 1999
X@@ -5,6 +5,10 @@
X /* Make sure our exports match up w/the implementation: */
X #include "../signals1.h"
X
X+#if defined(__NetBSD__)
X+#include <sys/param.h>
X+#endif
X+
X /* This table converts Unix signal numbers to S48/scsh interrupt numbers.
X ** If the signal doesn't have an interrupt number, the entry is -1.
X ** (Only asynchronous signals have interrupt numbers.)
X@@ -45,10 +49,13 @@
X scshint_winch, /* SIGWINCH */
X scshint_info, /* SIGINFO */
X scshint_usr1, /* SIGUSR1 */
X- scshint_usr2 /* SIGUSR2 */
X+ scshint_usr2, /* SIGUSR2 */
X+#if defined(__NetBSD__) && defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 103080000)
X+ scshint_pwr, /* SIGPWR */
X+#endif
X };
X
X-const int max_sig = 31; /* SIGUSR2 */
X+const int max_sig = (sizeof(sig2int)/sizeof(int)) - 1;
X
X /*
X scshint_alarm
END-of-patches/patch-ah
echo x - patches/patch-ai
sed 's/^X//' >patches/patch-ai << 'END-of-patches/patch-ai'
X$NetBSD: patch-ai,v 1.1 2000/05/20 23:05:40 dmcmahill Exp $
X
X+++ configure.in Sat May 20 17:20:50 2000
X@@ -292,4 +292,5 @@
X ## NetBSD and FreeBSD ( and maybe 386BSD also)
X *-*-*bsd* )
X+ LDFLAGS="-Wl,--export-dynamic"
X dir=bsd
X ;;
END-of-patches/patch-ai
echo x - patches/patch-aj
sed 's/^X//' >patches/patch-aj << 'END-of-patches/patch-aj'
X+++ configure Sun Oct 1 21:21:53 2000
X@@ -1,7 +1,7 @@
X #! /bin/sh
X
X # Guess values for system-dependent variables and create Makefiles.
X-# Generated automatically using autoconf version 2.12
X+# Generated automatically using autoconf version 2.13
X # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
X #
X # This configure script is free software; the Free Software Foundation
X@@ -49,6 +49,7 @@
X # Initialize some other variables.
X subdirs=
X MFLAGS= MAKEFLAGS=
X+SHELL=${CONFIG_SHELL-/bin/sh}
X # Maximum number of lines to put in a shell here document.
X ac_max_here_lines=12
X
X@@ -332,7 +333,7 @@
X verbose=yes ;;
X
X -version | --version | --versio | --versi | --vers)
X- echo "configure generated by autoconf version 2.12"
X+ echo "configure generated by autoconf version 2.13"
X exit 0 ;;
X
X -with-* | --with-*)
X@@ -502,9 +503,11 @@
X # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
X ac_cpp='$CPP $CPPFLAGS'
X ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
X-ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
X+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
X cross_compiling=$ac_cv_prog_cc_cross
X
X+ac_exeext=
X+ac_objext=o
X if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
X # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
X if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
X@@ -541,26 +544,26 @@
X
X
X # Make sure we can run config.sub.
X+if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
X else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
X fi
X
X echo $ac_n "checking host system type""... $ac_c" 1>&6
X+echo "configure:553: checking host system type" >&5
X
X host_alias=$host
X case "$host_alias" in
X NONE)
X case $nonopt in
X NONE)
X+ if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
X else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
X fi ;;
X *) host_alias=$nonopt ;;
X esac ;;
X esac
X
X-host=`$ac_config_sub $host_alias`
X+host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
X host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
X host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
X host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
X@@ -570,15 +573,16 @@
X # Extract the first word of "gcc", so it can be a program name with args.
X set dummy gcc; ac_word=$2
X echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
X+echo "configure:577: checking for $ac_word" >&5
X if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X if test -n "$CC"; then
X ac_cv_prog_CC="$CC" # Let the user override the test.
X else
X- for ac_dir in $PATH; do
X+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
X+ ac_dummy="$PATH"
X+ for ac_dir in $ac_dummy; do
X test -z "$ac_dir" && ac_dir=.
X if test -f $ac_dir/$ac_word; then
X ac_cv_prog_CC="gcc"
X@@ -599,16 +603,17 @@
X # Extract the first word of "cc", so it can be a program name with args.
X set dummy cc; ac_word=$2
X echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
X+echo "configure:607: checking for $ac_word" >&5
X if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X if test -n "$CC"; then
X ac_cv_prog_CC="$CC" # Let the user override the test.
X else
X+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
X ac_prog_rejected=no
X- for ac_dir in $PATH; do
X+ ac_dummy="$PATH"
X+ for ac_dir in $ac_dummy; do
X test -z "$ac_dir" && ac_dir=.
X if test -f $ac_dir/$ac_word; then
X if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
X@@ -643,25 +648,61 @@
X echo "$ac_t""no" 1>&6
X fi
X
X+ if test -z "$CC"; then
X+ case "`uname -s`" in
X+ *win32* | *WIN32*)
X+ # Extract the first word of "cl", so it can be a program name with args.
X+set dummy cl; ac_word=$2
X+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
X+echo "configure:658: checking for $ac_word" >&5
X+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
X+ echo $ac_n "(cached) $ac_c" 1>&6
X+else
X+ if test -n "$CC"; then
X+ ac_cv_prog_CC="$CC" # Let the user override the test.
X+else
X+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
X+ ac_dummy="$PATH"
X+ for ac_dir in $ac_dummy; do
X+ test -z "$ac_dir" && ac_dir=.
X+ if test -f $ac_dir/$ac_word; then
X+ ac_cv_prog_CC="cl"
X+ break
X+ fi
X+ done
X+ IFS="$ac_save_ifs"
X+fi
X+fi
X+CC="$ac_cv_prog_CC"
X+if test -n "$CC"; then
X+ echo "$ac_t""$CC" 1>&6
X+else
X+ echo "$ac_t""no" 1>&6
X+fi
X+ ;;
X+ esac
X+ fi
X test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
X fi
X
X echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
X+echo "configure:690: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
X
X ac_ext=c
X # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
X ac_cpp='$CPP $CPPFLAGS'
X ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
X-ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
X+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
X cross_compiling=$ac_cv_prog_cc_cross
X
X-cat > conftest.$ac_ext <<EOF
X-#line 661 "configure"
X+cat > conftest.$ac_ext << EOF
X+
X+#line 701 "configure"
X #include "confdefs.h"
X+
X main(){return(0);}
X EOF
X+if { (eval echo configure:706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X ac_cv_prog_cc_works=yes
X # If we can't run a trivial program, we are probably using a cross compiler.
X if (./conftest; exit) 2>/dev/null; then
X@@ -675,18 +716,24 @@
X ac_cv_prog_cc_works=no
X fi
X rm -fr conftest*
X+ac_ext=c
X+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
X+ac_cpp='$CPP $CPPFLAGS'
X+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
X+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
X+cross_compiling=$ac_cv_prog_cc_cross
X
X echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
X if test $ac_cv_prog_cc_works = no; then
X { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
X fi
X echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
X+echo "configure:732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
X echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
X cross_compiling=$ac_cv_prog_cc_cross
X
X echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
X+echo "configure:737: checking whether we are using GNU C" >&5
X if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -695,7 +742,7 @@
X yes;
X #endif
X EOF
X+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
X ac_cv_prog_gcc=yes
X else
X ac_cv_prog_gcc=no
X@@ -706,11 +753,15 @@
X
X if test $ac_cv_prog_gcc = yes; then
X GCC=yes
X- ac_test_CFLAGS="${CFLAGS+set}"
X- ac_save_CFLAGS="$CFLAGS"
X- CFLAGS=
X- echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
X+else
X+ GCC=
X+fi
X+
X+ac_test_CFLAGS="${CFLAGS+set}"
X+ac_save_CFLAGS="$CFLAGS"
X+CFLAGS=
X+echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
X+echo "configure:765: checking whether ${CC-cc} accepts -g" >&5
X if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -725,20 +776,24 @@
X fi
X
X echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
X- if test "$ac_test_CFLAGS" = set; then
X+if test "$ac_test_CFLAGS" = set; then
X CFLAGS="$ac_save_CFLAGS"
X- elif test $ac_cv_prog_cc_g = yes; then
X+elif test $ac_cv_prog_cc_g = yes; then
X+ if test "$GCC" = yes; then
X CFLAGS="-g -O2"
X else
X- CFLAGS="-O2"
X+ CFLAGS="-g"
X fi
X else
X- GCC=
X- test "${CFLAGS+set}" = set || CFLAGS="-g"
X+ if test "$GCC" = yes; then
X+ CFLAGS="-O2"
X+ else
X+ CFLAGS=
X+ fi
X fi
X
X echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
X+echo "configure:797: checking for POSIXized ISC" >&5
X if test -d /etc/conf/kconfig.d &&
X grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
X then
X@@ -762,20 +817,20 @@
X case "$host" in
X *-*-linux* )
X echo $ac_n "checking for broken Linux that needs -static with -g""... $ac_c" 1>&6
X+echo "configure:821: checking for broken Linux that needs -static with -g" >&5
X if eval "test \"`echo '$''{'scsh_cv_linux_static_debug'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X
X cat > conftest.$ac_ext <<EOF
X-#line 772 "configure"
X+#line 827 "configure"
X #include "confdefs.h"
X
X int main() {
X
X ; return 0; }
X EOF
X+if { (eval echo configure:834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X scsh_cv_linux_static_debug=no
X else
X@@ -801,28 +856,30 @@
X # SunOS /usr/etc/install
X # IRIX /sbin/install
X # AIX /bin/install
X+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
X # AFS /usr/afsws/bin/install, which mishandles nonexistent args
X # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
X # ./install, which can be erroneously created by make from ./install.sh.
X echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
X+echo "configure:865: checking for a BSD compatible install" >&5
X if test -z "$INSTALL"; then
X if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X+ IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
X for ac_dir in $PATH; do
X # Account for people who put trailing slashes in PATH elements.
X case "$ac_dir/" in
X /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
X *)
X # OSF1 and SCO ODT 3.0 have their own names for install.
X- for ac_prog in ginstall installbsd scoinst install; do
X+ # Don't use installbsd from OSF since it installs stuff as root
X+ # by default.
X+ for ac_prog in ginstall scoinst install; do
X if test -f $ac_dir/$ac_prog; then
X if test $ac_prog = install &&
X grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
X # AIX install. It has an incompatible calling convention.
X- # OSF/1 installbsd also uses dspmsg, but is usable.
X :
X else
X ac_cv_path_install="$ac_dir/$ac_prog -c"
X@@ -852,20 +909,23 @@
X # It thinks the first close brace ends the variable substitution.
X test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
X
X+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
X+
X test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
X
X # Extract the first word of "ranlib", so it can be a program name with args.
X set dummy ranlib; ac_word=$2
X echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
X+echo "configure:920: checking for $ac_word" >&5
X if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X if test -n "$RANLIB"; then
X ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
X else
X- for ac_dir in $PATH; do
X+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
X+ ac_dummy="$PATH"
X+ for ac_dir in $ac_dummy; do
X test -z "$ac_dir" && ac_dir=.
X if test -f $ac_dir/$ac_word; then
X ac_cv_prog_RANLIB="ranlib"
X@@ -884,12 +944,12 @@
X fi
X
X echo $ac_n "checking for working const""... $ac_c" 1>&6
X+echo "configure:948: checking for working const" >&5
X if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X cat > conftest.$ac_ext <<EOF
X-#line 893 "configure"
X+#line 953 "configure"
X #include "confdefs.h"
X
X int main() {
X@@ -938,7 +998,7 @@
X
X ; return 0; }
X EOF
X+if { (eval echo configure:1002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X ac_cv_c_const=yes
X else
X@@ -960,14 +1020,14 @@
X
X
X echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
X+echo "configure:1024: checking whether byte ordering is bigendian" >&5
X if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X ac_cv_c_bigendian=unknown
X # See if sys/param.h defines the BYTE_ORDER macro.
X cat > conftest.$ac_ext <<EOF
X-#line 971 "configure"
X+#line 1031 "configure"
X #include "confdefs.h"
X #include <sys/types.h>
X #include <sys/param.h>
X@@ -978,11 +1038,11 @@
X #endif
X ; return 0; }
X EOF
X+if { (eval echo configure:1042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X # It does; now see whether it defined to BIG_ENDIAN or not.
X cat > conftest.$ac_ext <<EOF
X-#line 986 "configure"
X+#line 1046 "configure"
X #include "confdefs.h"
X #include <sys/types.h>
X #include <sys/param.h>
X@@ -993,7 +1053,7 @@
X #endif
X ; return 0; }
X EOF
X+if { (eval echo configure:1057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X ac_cv_c_bigendian=yes
X else
X@@ -1013,7 +1073,7 @@
X { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
X else
X cat > conftest.$ac_ext <<EOF
X-#line 1017 "configure"
X+#line 1077 "configure"
X #include "confdefs.h"
X main () {
X /* Are we little or big endian? From Harbison&Steele. */
X@@ -1026,7 +1086,7 @@
X exit (u.c[sizeof (long) - 1] == 1);
X }
X EOF
X+if { (eval echo configure:1090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
X then
X ac_cv_c_bigendian=no
X else
X@@ -1117,7 +1177,7 @@
X LIBS=-lc
X
X echo $ac_n "checking for ELF""... $ac_c" 1>&6
X+echo "configure:1181: checking for ELF" >&5
X if eval "test \"`echo '$''{'scsh_cv_elf'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -1143,7 +1203,7 @@
X dir=bsd
X
X echo $ac_n "checking for ELF""... $ac_c" 1>&6
X+echo "configure:1207: checking for ELF" >&5
X if eval "test \"`echo '$''{'scsh_cv_elf'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -1179,7 +1239,7 @@
X dir=irix
X
X echo $ac_n "checking ${CC} for -cckr""... $ac_c" 1>&6
X+echo "configure:1243: checking ${CC} for -cckr" >&5
X if eval "test \"`echo '$''{'s48_cv_cflag_ckr'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -1240,7 +1300,7 @@
X ln -s $srcdir/$dir $srcdir/scsh/machine
X
X echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
X+echo "configure:1304: checking for sqrt in -lm" >&5
X ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1248,7 +1308,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-lm $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1252 "configure"
X+#line 1312 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1259,7 +1319,7 @@
X sqrt()
X ; return 0; }
X EOF
X+if { (eval echo configure:1323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1287,7 +1347,7 @@
X fi
X
X echo $ac_n "checking for pathfind in -lgen""... $ac_c" 1>&6
X+echo "configure:1351: checking for pathfind in -lgen" >&5
X ac_lib_var=`echo gen'_'pathfind | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1295,7 +1355,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-lgen $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1299 "configure"
X+#line 1359 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1306,7 +1366,7 @@
X pathfind()
X ; return 0; }
X EOF
X+if { (eval echo configure:1370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1334,7 +1394,7 @@
X fi
X
X echo $ac_n "checking for gethostbyaddr in -lnsl""... $ac_c" 1>&6
X+echo "configure:1398: checking for gethostbyaddr in -lnsl" >&5
X ac_lib_var=`echo nsl'_'gethostbyaddr | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1342,7 +1402,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-lnsl $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1346 "configure"
X+#line 1406 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1353,7 +1413,7 @@
X gethostbyaddr()
X ; return 0; }
X EOF
X+if { (eval echo configure:1417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1381,7 +1441,7 @@
X fi
X
X echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
X+echo "configure:1445: checking for socket in -lsocket" >&5
X ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1389,7 +1449,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-lsocket $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1393 "configure"
X+#line 1453 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1400,7 +1460,7 @@
X socket()
X ; return 0; }
X EOF
X+if { (eval echo configure:1464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1428,7 +1488,7 @@
X fi
X
X echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6
X+echo "configure:1492: checking for nlist in -lelf" >&5
X ac_lib_var=`echo elf'_'nlist | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1436,7 +1496,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-lelf $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1440 "configure"
X+#line 1500 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1447,7 +1507,7 @@
X nlist()
X ; return 0; }
X EOF
X+if { (eval echo configure:1511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1475,7 +1535,7 @@
X fi
X
X echo $ac_n "checking for ldopen in -lld""... $ac_c" 1>&6
X+echo "configure:1539: checking for ldopen in -lld" >&5
X ac_lib_var=`echo ld'_'ldopen | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1483,7 +1543,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-lld $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1487 "configure"
X+#line 1547 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1494,7 +1554,7 @@
X ldopen()
X ; return 0; }
X EOF
X+if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1522,7 +1582,7 @@
X fi
X
X echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
X+echo "configure:1586: checking for dlopen in -ldl" >&5
X ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1530,7 +1590,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-ldl $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1534 "configure"
X+#line 1594 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1541,7 +1601,7 @@
X dlopen()
X ; return 0; }
X EOF
X+if { (eval echo configure:1605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1569,7 +1629,7 @@
X fi
X
X echo $ac_n "checking for shl_findsym in -ldld""... $ac_c" 1>&6
X+echo "configure:1633: checking for shl_findsym in -ldld" >&5
X ac_lib_var=`echo dld'_'shl_findsym | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X@@ -1577,7 +1637,7 @@
X ac_save_LIBS="$LIBS"
X LIBS="-ldld $LIBS"
X cat > conftest.$ac_ext <<EOF
X-#line 1581 "configure"
X+#line 1641 "configure"
X #include "confdefs.h"
X /* Override any gcc2 internal prototype to avoid an error. */
X /* We use char because int might match the return type of a gcc2
X@@ -1588,7 +1648,7 @@
X shl_findsym()
X ; return 0; }
X EOF
X+if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_lib_$ac_lib_var=yes"
X else
X@@ -1617,12 +1677,12 @@
X
X
X echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
X+echo "configure:1681: checking return type of signal handlers" >&5
X if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X cat > conftest.$ac_ext <<EOF
X-#line 1626 "configure"
X+#line 1686 "configure"
X #include "confdefs.h"
X #include <sys/types.h>
X #include <signal.h>
X@@ -1639,7 +1699,7 @@
X int i;
X ; return 0; }
X EOF
X+if { (eval echo configure:1703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X ac_cv_type_signal=void
X else
X@@ -1658,7 +1718,7 @@
X
X
X echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
X+echo "configure:1722: checking how to run the C preprocessor" >&5
X # On Suns, sometimes $CPP names a directory.
X if test -n "$CPP" && test -d "$CPP"; then
X CPP=
X@@ -1673,14 +1733,14 @@
X # On the NeXT, cc -E runs the code through the compiler's parser,
X # not just through cpp.
X cat > conftest.$ac_ext <<EOF
X-#line 1677 "configure"
X+#line 1737 "configure"
X #include "confdefs.h"
X #include <assert.h>
X Syntax Error
X EOF
X ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
X-ac_err=`grep -v '^ *+' conftest.out`
X+{ (eval echo configure:1743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
X+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
X if test -z "$ac_err"; then
X :
X else
X@@ -1690,14 +1750,31 @@
X rm -rf conftest*
X CPP="${CC-cc} -E -traditional-cpp"
X cat > conftest.$ac_ext <<EOF
X-#line 1694 "configure"
X+#line 1754 "configure"
X+#include "confdefs.h"
X+#include <assert.h>
X+Syntax Error
X+EOF
X+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
X+{ (eval echo configure:1760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
X+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
X+if test -z "$ac_err"; then
X+ :
X+else
X+ echo "$ac_err" >&5
X+ echo "configure: failed program was:" >&5
X+ cat conftest.$ac_ext >&5
X+ rm -rf conftest*
X+ CPP="${CC-cc} -nologo -E"
X+ cat > conftest.$ac_ext <<EOF
X+#line 1771 "configure"
X #include "confdefs.h"
X #include <assert.h>
X Syntax Error
X EOF
X ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
X-ac_err=`grep -v '^ *+' conftest.out`
X+{ (eval echo configure:1777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
X+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
X if test -z "$ac_err"; then
X :
X else
X@@ -1710,6 +1787,8 @@
X rm -f conftest*
X fi
X rm -f conftest*
X+fi
X+rm -f conftest*
X ac_cv_prog_CPP="$CPP"
X fi
X CPP="$ac_cv_prog_CPP"
X@@ -1722,18 +1801,18 @@
X do
X ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
X echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
X+echo "configure:1805: checking for $ac_hdr" >&5
X if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X cat > conftest.$ac_ext <<EOF
X-#line 1731 "configure"
X+#line 1810 "configure"
X #include "confdefs.h"
X #include <$ac_hdr>
X EOF
X ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
X-ac_err=`grep -v '^ *+' conftest.out`
X+{ (eval echo configure:1815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
X+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
X if test -z "$ac_err"; then
X rm -rf conftest*
X eval "ac_cv_header_$ac_safe=yes"
X@@ -1762,18 +1841,18 @@
X do
X ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
X echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
X+echo "configure:1845: checking for $ac_hdr" >&5
X if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X cat > conftest.$ac_ext <<EOF
X-#line 1771 "configure"
X+#line 1850 "configure"
X #include "confdefs.h"
X #include <$ac_hdr>
X EOF
X ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
X-ac_err=`grep -v '^ *+' conftest.out`
X+{ (eval echo configure:1855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
X+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
X if test -z "$ac_err"; then
X rm -rf conftest*
X eval "ac_cv_header_$ac_safe=yes"
X@@ -1801,12 +1880,12 @@
X for ac_func in strerror
X do
X echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
X+echo "configure:1884: checking for $ac_func" >&5
X if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X cat > conftest.$ac_ext <<EOF
X-#line 1810 "configure"
X+#line 1889 "configure"
X #include "confdefs.h"
X /* System header to define __stub macros and hopefully few prototypes,
X which can conflict with char $ac_func(); below. */
X@@ -1829,7 +1908,7 @@
X
X ; return 0; }
X EOF
X+if { (eval echo configure:1912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_func_$ac_func=yes"
X else
X@@ -1856,12 +1935,12 @@
X for ac_func in dlopen gettimeofday ftime nlist select setitimer sigaction
X do
X echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
X+echo "configure:1939: checking for $ac_func" >&5
X if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X cat > conftest.$ac_ext <<EOF
X-#line 1865 "configure"
X+#line 1944 "configure"
X #include "confdefs.h"
X /* System header to define __stub macros and hopefully few prototypes,
X which can conflict with char $ac_func(); below. */
X@@ -1884,7 +1963,7 @@
X
X ; return 0; }
X EOF
X+if { (eval echo configure:1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_func_$ac_func=yes"
X else
X@@ -1911,12 +1990,12 @@
X for ac_func in socket chroot
X do
X echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
X+echo "configure:1994: checking for $ac_func" >&5
X if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X cat > conftest.$ac_ext <<EOF
X-#line 1920 "configure"
X+#line 1999 "configure"
X #include "confdefs.h"
X /* System header to define __stub macros and hopefully few prototypes,
X which can conflict with char $ac_func(); below. */
X@@ -1939,7 +2018,7 @@
X
X ; return 0; }
X EOF
X+if { (eval echo configure:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
X rm -rf conftest*
X eval "ac_cv_func_$ac_func=yes"
X else
X@@ -1966,7 +2045,7 @@
X
X
X echo $ac_n "checking for RISC/OS POSIX library lossage""... $ac_c" 1>&6
X+echo "configure:2049: checking for RISC/OS POSIX library lossage" >&5
X if eval "test \"`echo '$''{'s48_cv_posix_libc'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -1985,7 +2064,7 @@
X
X
X echo $ac_n "checking whether we can use -O2""... $ac_c" 1>&6
X+echo "configure:2068: checking whether we can use -O2" >&5
X if eval "test \"`echo '$''{'s48_cv_cflag_o2'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -2013,7 +2092,7 @@
X
X
X echo $ac_n "checking for underscore before symbols""... $ac_c" 1>&6
X+echo "configure:2096: checking for underscore before symbols" >&5
X if eval "test \"`echo '$''{'s48_cv_uscore'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -2039,7 +2118,7 @@
X
X if test $ac_cv_func_dlopen = yes ; then
X echo $ac_n "checking whether dlsym always adds an underscore for us""... $ac_c" 1>&6
X+echo "configure:2122: checking whether dlsym always adds an underscore for us" >&5
X if eval "test \"`echo '$''{'s48_cv_dlsym_adds_uscore'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X@@ -2047,7 +2126,7 @@
X { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
X else
X cat > conftest.$ac_ext <<EOF
X-#line 2051 "configure"
X+#line 2130 "configure"
X #include "confdefs.h"
X
X #include <dlfcn.h>
X@@ -2058,7 +2137,7 @@
X if(ptr1 && !ptr2) exit(0); } exit(1); }
X
X EOF
X+if { (eval echo configure:2141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
X then
X s48_cv_dlsym_adds_uscore=yes
X cat >> confdefs.h <<\EOF
X@@ -2083,13 +2162,13 @@
X
X
X echo $ac_n "checking for n_name""... $ac_c" 1>&6
X+echo "configure:2166: checking for n_name" >&5
X if eval "test \"`echo '$''{'s48_cv_nlist'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X
X cat > conftest.$ac_ext <<EOF
X-#line 2093 "configure"
X+#line 2172 "configure"
X #include "confdefs.h"
X #include <nlist.h>
X int main() {
X@@ -2097,7 +2176,7 @@
X name_list.n_name = "foo";
X ; return 0; }
X EOF
X+if { (eval echo configure:2180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X s48_cv_nlist=yes
X else
X@@ -2119,20 +2198,20 @@
X
X
X echo $ac_n "checking for _cnt""... $ac_c" 1>&6
X+echo "configure:2202: checking for _cnt" >&5
X if eval "test \"`echo '$''{'s48_cv__cnt'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X
X cat > conftest.$ac_ext <<EOF
X-#line 2129 "configure"
X+#line 2208 "configure"
X #include "confdefs.h"
X #include <stdio.h>
X int main() {
X return stdin->_cnt;
X ; return 0; }
X EOF
X+if { (eval echo configure:2215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X s48_cv__cnt=yes
X else
X@@ -2155,20 +2234,20 @@
X
X
X echo $ac_n "checking for tzname""... $ac_c" 1>&6
X+echo "configure:2238: checking for tzname" >&5
X if eval "test \"`echo '$''{'scsh_cv_tzname'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X
X cat > conftest.$ac_ext <<EOF
X-#line 2165 "configure"
X+#line 2244 "configure"
X #include "confdefs.h"
X #include <time.h>
X int main() {
X return (int) tzname;
X ; return 0; }
X EOF
X+if { (eval echo configure:2251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X scsh_cv_tzname=yes
X else
X@@ -2190,13 +2269,13 @@
X
X
X echo $ac_n "checking for gmtoff""... $ac_c" 1>&6
X+echo "configure:2273: checking for gmtoff" >&5
X if eval "test \"`echo '$''{'scsh_cv_gmtoff'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X
X cat > conftest.$ac_ext <<EOF
X-#line 2200 "configure"
X+#line 2279 "configure"
X #include "confdefs.h"
X #include <time.h>
X int main() {
X@@ -2204,7 +2283,7 @@
X return time.tm_gmtoff;
X ; return 0; }
X EOF
X+if { (eval echo configure:2287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X scsh_cv_gmtoff=yes
X else
X@@ -2226,13 +2305,13 @@
X
X
X echo $ac_n "checking for const sys_errlist""... $ac_c" 1>&6
X+echo "configure:2309: checking for const sys_errlist" >&5
X if eval "test \"`echo '$''{'scsh_cv_const_sys_errlist'+set}'`\" = set"; then
X echo $ac_n "(cached) $ac_c" 1>&6
X else
X
X cat > conftest.$ac_ext <<EOF
X-#line 2236 "configure"
X+#line 2315 "configure"
X #include "confdefs.h"
X #include <errno.h>
X #include <unistd.h>
X@@ -2240,7 +2319,7 @@
X const extern char *sys_errlist[];
X ; return 0; }
X EOF
X+if { (eval echo configure:2323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X rm -rf conftest*
X scsh_cv_const_sys_errlist=yes
X else
X@@ -2298,7 +2377,7 @@
X # Ultrix sh set writes to stderr and can't be redirected directly,
X # and sets the high bit in the cache file unless we assign to the vars.
X (set) 2>&1 |
X- case `(ac_space=' '; set) 2>&1` in
X+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
X *ac_space=\ *)
X # `set' does not quote correctly, so add quotes (double-quote substitution
X # turns \\\\ into \\, and sed turns \\ into \).
X@@ -2365,7 +2444,7 @@
X echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
X exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
X -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
X- echo "$CONFIG_STATUS generated by autoconf version 2.12"
X+ echo "$CONFIG_STATUS generated by autoconf version 2.13"
X exit 0 ;;
X -help | --help | --hel | --he | --h)
X echo "\$ac_cs_usage"; exit 0 ;;
X@@ -2385,9 +2464,11 @@
X s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
X $ac_vpsub
X $extrasub
X+s%@SHELL@%$SHELL%g
X s%@CFLAGS@%$CFLAGS%g
X s%@CPPFLAGS@%$CPPFLAGS%g
X s%@CXXFLAGS@%$CXXFLAGS%g
X+s%@FFLAGS@%$FFLAGS%g
X s%@DEFS@%$DEFS%g
X s%@LDFLAGS@%$LDFLAGS%g
X s%@LIBS@%$LIBS%g
X@@ -2413,6 +2494,7 @@
X s%@host_os@%$host_os%g
X s%@CC@%$CC%g
X s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
X+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
X s%@INSTALL_DATA@%$INSTALL_DATA%g
X s%@RANLIB@%$RANLIB%g
X s%@CPP@%$CPP%g
END-of-patches/patch-aj
echo x - patches/patch-ak
sed 's/^X//' >patches/patch-ak << 'END-of-patches/patch-ak'
X+++ scsh/lib/string-lib.scm Sun Oct 1 06:44:22 2000
X@@ -1139,7 +1139,7 @@
X ; ((< i start) ans))))
X
X (define (string->list s . maybe-start+end)
X- (apply string-fold-right s cons '() maybe-start+end))
X+ (apply string-fold-right cons '() s maybe-start+end))
X
X
X
END-of-patches/patch-ak
echo x - patches/patch-al
sed 's/^X//' >patches/patch-al << 'END-of-patches/patch-al'
X+++ scsh/rx/packages.scm Sun Oct 1 07:12:33 2000
X@@ -174,6 +174,7 @@
X :boolean))
X (sre->regexp (proc (:value) :value))
X (regexp->sre (proc (:value) :value))
X+ nonl-chars
X )))
X
X
END-of-patches/patch-al
echo x - patches/patch-am
sed 's/^X//' >patches/patch-am << 'END-of-patches/patch-am'
X+++ scsh/rdelim.scm Sun Oct 1 07:28:50 2000
X@@ -192,7 +192,7 @@
X (values c (- i start)))
X
X ((>= i end) ; Filled the buffer.
X- (if gobble? (read-char port))
X+ ; [loses one character at end of full line buffer] (if gobble? (read-char port))
X (values #f (- i start)))
X
X (else (string-set! buf i (read-char port))
END-of-patches/patch-am
echo x - patches/patch-an
sed 's/^X//' >patches/patch-an << 'END-of-patches/patch-an'
X+++ scsh/scsh-package.scm Sun Oct 1 22:01:34 2000
X@@ -178,6 +178,7 @@
X
X re-level-0
X rx-syntax
X+ let-match-package
X
X string-lib
X
END-of-patches/patch-an
echo x - patches/patch-ao
sed 's/^X//' >patches/patch-ao << 'END-of-patches/patch-ao'
X+++ scsh/rdelim.c Thu Oct 5 15:46:20 2000
X@@ -1,3 +1,4 @@
X+/* this comment added so that BSD make DTRT after we touch scsh/rdelim.scm */
X /* This is an Scheme48/C interface file,
X ** automatically generated by cig.
X */
END-of-patches/patch-ao
exit
>Release-Note:
>Audit-Trail:
>Unformatted: