Skip to content
Snippets Groups Projects
Commit 169e5d2a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Rewrite.

parent 36130b3d
Branches
Tags
No related merge requests found
#!/bin/sh #!/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 [ -d include ] || mkdir include
case "$1" in case "$1" in
+help | +hel | +he | +h | -h | -H) +help | +hel | +he | +h | -h | -H)
echo Usage: ./Config hosttype echo Usage: ./Config hosttype
echo where hosttype is one of echo where hosttype is one of
echo balance sparc echo balance sparc;;
balance) balance)
ln -s ../config/balance-config.h include/m-config.h x=balance;;
ln -s ../config/balance-defs.make scripts/import.make;;
sun4 | sun4os4 | sparc | sparcos4) sun4 | sun4os4 | sparc | sparcos4)
ln -s ../config/sun4os4-config.h include/m-config.h x=sun4os4;;
ln -s ../config/sun4os4-defs.make scripts/import.make;;
*) echo Unsupported host type "$1". *) 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 esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment