fi
case $ACM in
sun3|sparc)
- ed - make_macros <<'EOF'
+ ed -s make_macros <<'EOF'
/cc-and-mkdep.sun/s/^..//
w
q
case $SYSNAME in
i386)
- ed - $TARGET_HOME/lib/descr/fe << 'ABC'
+ ed -s $TARGET_HOME/lib/descr/fe << 'ABC'
1,$s/-D{NAME}/-D{NAME} -DNO_PROTOTYPE/
w
q
case X$SYSVAX in
Xvax_sysV_2)
- ed - $TARGET_HOME/lib/vax4/descr << 'ABC'
+ ed -s $TARGET_HOME/lib/vax4/descr << 'ABC'
/CPP_F/s/$/ -D__USG/
w
q
ABC
- ed - $CONFIG/mach/vax4/Action << 'ABC'
+ ed -s $CONFIG/mach/vax4/Action << 'ABC'
/libbsd4_2/s/libbsd4_2/libsysV_2/
w
q
( cd $CONFIG/mach/vax4
for i in libcc libcc.ansi
do
- ed - $i/Makefile << 'ABC'
+ ed -s $i/Makefile << 'ABC'
/BFS/s/BFS/UFS/
w
q
)
;;
Xvax_bsd4_2)
- ed - $TARGET_HOME/lib/vax4/descr << 'ABC'
+ ed -s $TARGET_HOME/lib/vax4/descr << 'ABC'
/CPP_F/s/$/ -D__BSD4_2/
w
q
ABC
;;
Xvax_bsd4_1a)
- ed - $CONFIG/mach/vax4/Action << 'ABC'
+ ed -s $CONFIG/mach/vax4/Action << 'ABC'
/libbsd4_2/s/libbsd4_2/libbsd4_1a/
w
q
for i in $DISABLE_LANG
do
- ed - $CONFIG/Action <<EOF
+ ed -s $CONFIG/Action <<EOF
/^name "$i/;/^end/s/^/!/
w
q
EOF
case $i in
Modula-2)
- ed - $CONFIG/Action <<EOF
+ ed -s $CONFIG/Action <<EOF
/^name "$i definition/;/^end/s/^/!/
/^name "$i makefile/;/^end/s/^/!/
w
EOF
;;
ANSI-C) : install compiler anyway
- ed - $CONFIG/Action <<EOF
+ ed -s $CONFIG/Action <<EOF
/^!name "$i frontend/;/^!end/s/^!//
w
q
EOF
;;
C) : install compiler anyway
- ed - $CONFIG/Action <<EOF
+ ed -s $CONFIG/Action <<EOF
/^!name "$i frontend/;/^!end/s/^!//
w
q
DISABLE_INT=0
for i in $DISABLE_SUP
do
- ed - $CONFIG/Action <<EOF
+ ed -s $CONFIG/Action <<EOF
/^dir .*$i\$/;?^name?;/^end/s/^/!/
w
q
esac
if test $DISABLE_INT = 1
then
- ed - $CONFIG/Action <<EOF
+ ed -s $CONFIG/Action <<EOF
/68000 interpreters/;/^end/s/^/!/
w
q
do
if fgrep -s $j $i
then
- ed - $i <<EOF
+ ed -s $i <<EOF
/$j/;?^name?,/^end/s/^/!/
w
q
if [ $DO_FAST = n ]
then
- ed - $CONFIG/Action <<'EOF'
+ ed -s $CONFIG/Action <<'EOF'
/^name "Peephole optimizer lib/;/^end/s/^/!/
/^name "Fast/;$s/^/!/
w
mk_makefile $SRC_HOME/mach/proto/ncg/proto.make | sed -e "/#MACH_DEFINE/,/^MACH/s/=.*/= $i/" > Makefile
if [ -f $SRC_HOME/mach/$i/ncg/table_dir ]
then
- ed - Makefile <<EOF
+ ed -s Makefile <<EOF
/^#TABLE_DEFINE/+1r $SRC_HOME/mach/$i/ncg/table_dir
w
q
cp $1 /tmp/mk_mak$$
-ed - /tmp/mk_mak$$ << 'EOF'
+ed -s /tmp/mk_mak$$ << 'EOF'
/^#PARAMS/c
#PARAMS do not remove this line!
.
EOF
case `ack_sys` in
sparc_solaris)
- ed - /tmp/mk_mak$$ << 'EOF'
+ ed -s /tmp/mk_mak$$ << 'EOF'
g/^EXTRALIB/s/=/= -lelf/
w
q