From: ceriel Date: Thu, 2 Apr 1987 14:26:58 +0000 (+0000) Subject: correct interpreter description files on SYStem V or Sun machines X-Git-Tag: release-5-5~4239 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5f0802bd2cba7ce98e45087cfe0e1946efdaad65;p=ack.git correct interpreter description files on SYStem V or Sun machines --- 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