From 5f0802bd2cba7ce98e45087cfe0e1946efdaad65 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 2 Apr 1987 14:26:58 +0000 Subject: [PATCH] correct interpreter description files on SYStem V or Sun machines --- first/first | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/first/first b/first/first index 2c93550e2..76cdd0c33 100755 --- a/first/first +++ b/first/first @@ -120,8 +120,8 @@ for i in $RMD do ( cd ../lib/$i if grep '^name as$' descr >/dev/null 2>&1 - then -cp descr descr.orig + then + cp descr descr.orig ed - descr <<'ABC' /^name as$/;/^end$/d /^name ld$/;/^end$/d @@ -133,6 +133,7 @@ ABC done case `ack_sys` in vax_bsd4_2) ( cd ../lib/vax4 + cp descr descr.orig ed - descr <<'ABC' /CPP_F/s/$/-D__BSD4_2/ w @@ -141,6 +142,7 @@ ABC ) ;; vax_sysV_2) ( cd ../lib/vax4 + cp descr descr.orig ed - descr <<'ABC' /CPP_F/s/$/-D__USG/ w @@ -149,6 +151,44 @@ ABC ) ;; 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' BM=1 case `ack_sys` in -- 2.34.1