summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1992-06-08 04:49:43 +0000
committerLarry Wall <lwall@netlabs.com>1992-06-08 04:49:43 +0000
commitb3634b015bfd34ae2ab484f115256d52ae40d683 (patch)
tree318335f0dfbcc9c7b778d747fecc6b87e64d02c9 /Makefile.SH
parent988174c19bcf26f6c6e0551f1dfbba78203bc2ce (diff)
downloadperl-b3634b015bfd34ae2ab484f115256d52ae40d683.tar.gz
perl 4.0 patch 20: (combined patch)
ENHANCEMENTS Subject: relaxed requirement for semicolon at the end of a block Subject: scalar keys %array now counts keys for you Subject: added ... as variant on .. Subject: get*by* routines now return something useful in a scalar context Subject: form feed for formats is now specifiable via $^L Subject: PERLLIB now supports multiple directories Subject: paragraph mode now skips extra newlines automatically MANPAGE Subject: documented that numbers may contain underline Subject: clarified that DATA may only be read from main script Subject: documented need for 1; at the end of a required file Subject: extended bracket-style quotes to two-arg operators: s()() and tr()() Subject: documented PERLLIB and PERLDB Subject: documented limit on size of regexp CONFIGURATION Subject: bcopy() and memcpy() now tested for overlap safety Subject: isascii() may now be supplied by a library routine Subject: Configure now allows optional continuation with files missing Subject: many more hints files added Subject: many more hints added Subject: hints now auto selected on uname -s as well as uname -m Subject: OSF/1 support added Subject: Configure growing-library-list bug fixed Subject: seekdir(), telldir() and rewinddir() now checked for independently Subject: cray didn't give enough memory to /bin/sh Subject: perl -P now uses location of sed determined by Configure Subject: SH files didn't work well with symbolic links Subject: makefiles now display new shift/reduce expectations Subject: support added to installperl for cross-compilation Subject: a2p was installed unexecutable Subject: installperl didn't warn on failed manpage installation Subject: disabled cpp test if cppstdin not yet installed PORTABILITY Subject: O_PIPE conflicted with Atari Subject: config.H updated to reflect more recent config.h Subject: removed implicit int declarations on functions Subject: added Atari ST portability Subject: some machines don't define ENOTSOCK in errno.h Subject: added explicit time_t support Subject: alternate config.h files upgraded Subject: new OS/2 support COMPILER Subject: various error messages have been clarified Subject: the switch optimizer didn't do anything in subroutines Subject: clarified debugging output for literals and double-quoted strings Subject: new warning for use of x with non-numeric right operand Subject: illegal lvalue message could be followed by core dump Subject: new warning for ambiguous use of unary operators Subject: eval "1 #comment" didn't work Subject: semantic compilation errors didn't abort execution Subject: an expression may now start with a bareword Subject: if {block} {block} didn't work any more Subject: "$var{$foo'bar}" didn't scan subscript correctly Subject: an EXPR may now start with a bareword Subject: print $fh EXPR can now expect term rather than operator in EXPR Subject: new warning on spurious backslash Subject: new warning on missing $ for foreach variable Subject: "foo"x1024 now legal without space after x Subject: new warning on print accidentally used as function Subject: 2. now eats the dot Subject: <@ARGV> now notices @ARGV Subject: tr/// now lets you say \- RUNTIME Subject: an eval block containing a null block or statement could dump core Subject: modulus with highest bit in left operand set didn't always work Subject: join() now pre-extends target string to avoid excessive copying Subject: subroutines didn't localize $`, $&, $', $1 et al correctly Subject: usersub routines didn't reclaim temp values soon enough Subject: ($<,$>) = ... didn't work on some architectures Subject: fixed memory leak on system() for vfork() machines Subject: @ in unpack failed too often Subject: slice on null list in scalar context returned random value Subject: splice with negative offset didn't work with $[ = 1 Subject: fixed some memory leaks in splice Subject: dbmclose(%array) didn't work Subject: delete could cause %array to give too low a count of buckets filled Subject: hash tables now split only if the memory is available to do so Subject: realloc(0, size) now does malloc in case library routines call it Subject: running taintperl explicitly now does checks even if $< == $> Subject: fixed memory leak in doube-quote interpretation Subject: a splice on non-existent array elements could dump core Subject: tr/stuff// wasn't working right I/O Subject: new warnings for failed use of stat operators on filenames with \n Subject: wait failed when STDOUT or STDERR reopened to a pipe Subject: end of file latch not reset on reopen of STDIN Subject: seek(HANDLE, 0, 1) went to eof because of ancient Ultrix workaround Subject: h_errno now accessible via $? REGEXP Subject: pattern modifiers i and o didn't interact right Subject: g pattern modifer sometimes returned extra values Subject: m/$pattern/g didn't work Subject: /^stuff/ wrongly assumed an implicit $* == 1 Subject: /x{0}/ was wrongly interpreted as /x{0,}/ Subject: added \W, \S and \D inside /[...]/ Subject: pattern modifiers i and g didn't interact right Subject: in some cases $` and $' didn't get set by match Subject: made /\$$foo/ look for literal '$foo' LIBRARIES Subject: big*.pl library files upgraded Subject: better support in chat2 for multiple children Subject: &ctime didn't handle $[ != 0 Subject: find.pl got confused by unreadable directories Subject: new version of newgetopt.pl Subject: Tom's famous double-ended pipe opener, open2(), is now included Subject: support added to pwd.pl to strip automounter crud Subject: &shellwords looped on bad input, and used inefficient regular exprs Subject: termcap.pl didn't parse termcap terminal names right Subject: timelocal could loop on bad input Subject: timelocal now calculates DST itself Subject: &getcap eventually dumped core in bsdcurses DEBUGGER Subject: support for MSDOS folded into perldb.pl Subject: perldb couldn't debug file containing '-', such as STDIN designator Subject: the debugger now warns you on lines that can't set a breakpoint Subject: the debugger made perl forget the last pattern used by // Subject: fixed double debug break in foreach with implicit array assignment Subject: debugger sometimes displayed wrong source line INTERSTICES Subject: Perl now distinguishes overlapped copies from non-overlapped Subject: fixed confusion between a *var's real name and its effective name Subject: deleted some minor memory leaks Subject: couldn't require . files Subject: -e 'cmd' no longer fails silently if /tmp runs out of space Subject: function key support added to curses.mus TRANSLATORS Subject: find2perl assumed . in PATH Subject: find2perl didn't output portable startup code Subject: find2perl didn't always stat at the right time Subject: s2p didn't output portable startup code Subject: s2p didn't translate s/pat/\&/ or s/pat/\$/ or s/pat/\\1/ right Subject: in a2p, getline should allow variable to be array element Subject: in a2p, now warns about spurious backslashes Subject: in a2p, now allows [ to be backslashed in pattern Subject: in a2p, now allows numbers of the form 2. Subject: in a2p, simplified the filehandle model Subject: in a2p, made RS="" translate to $/ = "\n\n" Subject: in a2p, do {...} while ... was missing some reconstruction code
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH26
1 files changed, 18 insertions, 8 deletions
diff --git a/Makefile.SH b/Makefile.SH
index cc60bf39c6..a3130ef005 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -24,10 +24,15 @@ case "$d_dosuid" in
esac
echo "Extracting Makefile (with variable substitutions)"
+rm -f Makefile
cat >Makefile <<!GROK!THIS!
-# $RCSfile: Makefile.SH,v $$Revision: 4.0.1.3 $$Date: 91/11/05 15:48:11 $
+# $RCSfile: Makefile.SH,v $$Revision: 4.0.1.4 $$Date: 92/06/08 11:40:43 $
#
# $Log: Makefile.SH,v $
+# Revision 4.0.1.4 92/06/08 11:40:43 lwall
+# patch20: cray didn't give enough memory to /bin/sh
+# patch20: various and sundry fixes
+#
# Revision 4.0.1.3 91/11/05 15:48:11 lwall
# patch11: saberized perl
# patch11: added support for dbz
@@ -66,6 +71,8 @@ libs = $libs $cryptlib
public = perl taintperl $suidperl
+shellflags = $shellflags
+
# To use an alternate make, set $altmake in config.sh.
MAKE = ${altmake-make}
@@ -73,7 +80,7 @@ MAKE = ${altmake-make}
cat >>Makefile <<'!NO!SUBS!'
-CCCMD = `sh cflags $@`
+CCCMD = `sh $(shellflags) cflags $@`
private =
@@ -299,10 +306,13 @@ perly.h: perly.c
touch perly.h
perly.c: perly.y perly.fixer
- @ echo 'Expect either' 29 shift/reduce and 59 reduce/reduce conflicts...
- @ echo ' or' 27 shift/reduce and 61 reduce/reduce conflicts...
+ @ \
+case "$(YACC)" in \
+ *bison*) echo 'Expect' 25 shift/reduce and 59 reduce/reduce conflicts;; \
+ *) echo 'Expect' 27 shift/reduce and 57 reduce/reduce conflicts;; \
+esac
$(YACC) -d perly.y
- sh ./perly.fixer y.tab.c perly.c
+ sh $(shellflags) ./perly.fixer y.tab.c perly.c
mv y.tab.h perly.h
echo 'extern YYSTYPE yylval;' >>perly.h
@@ -313,7 +323,7 @@ install: all
./perl installperl
clean:
- rm -f *.o all perl taintperl suidperl
+ rm -f *.o all perl taintperl suidperl perly.c
cd x2p; $(MAKE) clean
realclean: clean
@@ -339,7 +349,7 @@ depend: makedepend
test: perl
- cd t && chmod +x TEST */*.t
- - cd t && (rm -f perl; $(SLN) ../perl .) && ./perl TEST </dev/tty
+ - cd t && (rm -f perl; $(SLN) ../perl perl) && ./perl TEST </dev/tty
clist:
echo $(c) | tr ' ' '\012' >.clist
@@ -354,7 +364,7 @@ shlist:
$(obj) hash.o:
@ echo "You haven't done a "'"make depend" yet!'; exit 1
makedepend: makedepend.SH
- /bin/sh makedepend.SH
+ /bin/sh $(shellflags) makedepend.SH
!NO!SUBS!
$eunicefix Makefile
case `pwd` in