Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
169e5d2a
Commit
169e5d2a
authored
Aug 30, 1991
by
Per Cederqvist
Browse files
Rewrite.
parent
36130b3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Config
View file @
169e5d2a
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment