Commit 169e5d2a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Rewrite.

parent 36130b3d
#!/bin/sh
# $Id: Config,v 1.2 1991/08/30 02:32:32 ceder Exp $
# $Id: Config,v 1.3 1991/08/30 03:16:52 ceder Exp $
x=
[ -d include ] || mkdir include
case "$1" in
+help | +hel | +he | +h | -h | -H)
echo Usage: ./Config hosttype
echo where hosttype is one of
echo balance sparc
echo balance sparc;;
balance)
ln -s ../config/balance-config.h include/m-config.h
ln -s ../config/balance-defs.make scripts/import.make;;
x=balance;;
sun4 | sun4os4 | sparc | sparcos4)
ln -s ../config/sun4os4-config.h include/m-config.h
ln -s ../config/sun4os4-defs.make scripts/import.make;;
x=sun4os4;;
*) echo Unsupported host type "$1".
false;;
x=error;;
esac
case "$x" in
error) false;;
*)
rm -f include/m-config.h
rm -f scripts/import.make
ln -s ../config/${x}-config.h include/m-config.h
ln -s ../config/${x}-defs.make scripts/import.make;;
esac
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment