correct interpreter description files on SYStem V or Sun machines

This commit is contained in:
ceriel 1987-04-02 14:26:58 +00:00
parent c42541c99b
commit 5f0802bd2c

View file

@ -120,8 +120,8 @@ for i in $RMD
do do
( cd ../lib/$i ( cd ../lib/$i
if grep '^name as$' descr >/dev/null 2>&1 if grep '^name as$' descr >/dev/null 2>&1
then then
cp descr descr.orig cp descr descr.orig
ed - descr <<'ABC' ed - descr <<'ABC'
/^name as$/;/^end$/d /^name as$/;/^end$/d
/^name ld$/;/^end$/d /^name ld$/;/^end$/d
@ -133,6 +133,7 @@ ABC
done done
case `ack_sys` in case `ack_sys` in
vax_bsd4_2) ( cd ../lib/vax4 vax_bsd4_2) ( cd ../lib/vax4
cp descr descr.orig
ed - descr <<'ABC' ed - descr <<'ABC'
/CPP_F/s/$/-D__BSD4_2/ /CPP_F/s/$/-D__BSD4_2/
w w
@ -141,6 +142,7 @@ ABC
) )
;; ;;
vax_sysV_2) ( cd ../lib/vax4 vax_sysV_2) ( cd ../lib/vax4
cp descr descr.orig
ed - descr <<'ABC' ed - descr <<'ABC'
/CPP_F/s/$/-D__USG/ /CPP_F/s/$/-D__USG/
w w
@ -149,6 +151,44 @@ ABC
) )
;; ;;
esac esac
case `ack_sys` in
m68_sysV_0)
( cd ../lib/int24
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/-D__USG/
w
q
ABC
)
( cd ../lib/int44
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/-D__USG/
w
q
ABC
)
;;
sun2|sun3)
( cd ../lib/int24
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/-D__BSD4_2/
w
q
ABC
)
( cd ../lib/int44
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/-D__BSD4_2/
w
q
ABC
)
;;
esac
: 'Set the default machine in ../h/local.h' : 'Set the default machine in ../h/local.h'
BM=1 BM=1
case `ack_sys` in case `ack_sys` in