ack/first/limit_impl

193 lines
2.4 KiB
Plaintext
Raw Normal View History

1991-10-15 16:02:38 +00:00
for i in $DISABLE_LANG
do
ed - $CONFIG/Action <<EOF
/^name "$i/;/^end/s/^/!/
w
q
EOF
case $i in
Modula-2)
ed - $CONFIG/Action <<EOF
/^name "$i definition/;/^end/s/^/!/
/^name "$i makefile/;/^end/s/^/!/
w
q
EOF
;;
ANSI-C) : install compiler anyway
ed - $CONFIG/Action <<EOF
/^!name "$i frontend/;/^!end/s/^!//
w
q
EOF
;;
C) : install compiler anyway
ed - $CONFIG/Action <<EOF
/^!name "$i frontend/;/^!end/s/^!//
w
q
EOF
;;
esac
done
for i in Modula-2 Pascal Basic Occam ANSI-C C Fortran
do
if [ $DO_MACHINE_INDEP = n ]
then
continue
fi
for j in $DISABLE_LANG
do
case $i in
$j) i=X
break
;;
esac
done
case $i in
X) continue
;;
Modula-2)
lib=libm2
;;
Pascal)
lib=libpc
;;
Basic)
lib=libbc
;;
Occam)
lib=liboc
;;
ANSI-C)
lib=libcc.ansi
;;
C)
lib=libcc
;;
Fortran)
lib=libf77
;;
esac
( cd $CONFIG/mach
for j in $MACH_LIST
do
case $j in
6800|6805|6809|s2650) continue
;;
esac
: do not install fortran for 2-byte integer machines
case $i in
Fortran) case $j in
em2*|i8*|m68k2|minix*|pdp|pmds|xenix3|z80*)
continue
;;
esac
;;
esac
( cd $j
cat >> Action <<EOF
name "$j $i libraries"
dir $lib
end
EOF
)
done
)
done
DISABLE_INT=0
for i in $DISABLE_SUP
do
ed - $CONFIG/Action <<EOF
/^dir .*$i\$/;?^name?;/^end/s/^/!/
w
q
EOF
case $i in
m68k2)
1991-10-15 16:02:38 +00:00
DISABLE_INT=1
;;
m68k4)
case $SYSNAME in
m68_sysV_0|sun2)
DISABLE_INT=1
;;
esac
;;
1991-10-15 16:02:38 +00:00
mantra)
if test $SYSNAME = m68_sysV_0
then
DISABLE_INT=1
fi
;;
sun2)
if test $SYSNAME = sun2
then
DISABLE_INT=1
fi
;;
sun3)
if test $SYSNAME = sun3
then
DISABLE_INT=1
fi
;;
pmds4)
1991-10-15 16:02:38 +00:00
case $SYSNAME in
pmds*)
1991-10-15 16:02:38 +00:00
DISABLE_INT=1
;;
esac
;;
m68020)
1991-10-15 16:02:38 +00:00
case $SYSNAME in
m68020|sun3)
1991-10-15 16:02:38 +00:00
DISABLE_INT=1
;;
esac
;;
esac
done
case $SYSNAME in
m68*|sun2|sun3|pmds*)
;;
*) DISABLE_INT=1
;;
esac
if test $DISABLE_INT = 1
then
ed - $CONFIG/Action <<EOF
/68000 interpreters/;/^end/s/^/!/
w
q
EOF
fi
1991-10-22 10:55:19 +00:00
if [ $DO_MACHINE_INDEP = n ]
1991-10-15 16:02:38 +00:00
then
for i in $CONFIG/mach/*/Action
do
1991-11-14 09:35:36 +00:00
for j in libem libend libfp libdb libsys libmon libbsd4_2 libbsd4_1a libsysV_2 libce
1991-10-15 16:02:38 +00:00
do
if grep -s $j $i
then
ed - $i <<EOF
/$j/;?^name?,/^end/s/^/!/
w
q
EOF
fi
done
done
fi
if [ $DO_FAST = n ]
then
ed - $CONFIG/Action <<'EOF'
/^name "Peephole optimizer lib/;/^end/s/^/!/
/^name "Fast/;$s/^/!/
w
q
EOF
fi