|
|
1.1 root 1: #!/bin/sh -
2: #
3: # Copyright (c) 1989 Jan-Simon Pendry
4: # Copyright (c) 1989 Imperial College of Science, Technology & Medicine
5: # Copyright (c) 1989 The Regents of the University of California.
6: # All rights reserved.
7: #
8: # This code is derived from software contributed to Berkeley by
9: # Jan-Simon Pendry at Imperial College, London.
10: #
11: # Redistribution and use in source and binary forms are permitted provided
12: # that: (1) source distributions retain this entire copyright notice and
13: # comment, and (2) distributions including binaries display the following
14: # acknowledgement: ``This product includes software developed by the
15: # University of California, Berkeley and its contributors'' in the
16: # documentation or other materials provided with the distribution and in
17: # all advertising materials mentioning features or use of this software.
18: # Neither the name of the University nor the names of its contributors may
19: # be used to endorse or promote products derived from this software without
20: # specific prior written permission.
21: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
22: # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
23: # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
24: LAR PURPOSE.
25: #
26: # @(#)Configure 5.1 (Berkeley) 6/29/90
27: #
28: echo "Making ./arch and ./os-type executable ..."
29: until chmod +x ./arch ./os-type; do echo "Error: chmod command failed" >&2; exit 1; done
30: echo "Checking ./arch and ./os-type ..."
31: echo ""
32: arch="`sh ./arch 2>/dev/null`"
33: os="`sh ./os-type 2>/dev/null`"
34: case "$arch" in
35: "") echo "./arch doesn't produce an answer - please check it" >&2; exit 1;;
36: esac
37: case "$os" in
38: "") echo "./os-type doesn't produce an answer - please check it" >&2; exit 1;;
39: esac
40: cat << %
41: This machine appears to be a "$arch" running "$os".
42: If that is correct just run make.
43: If those are incorrect please edit ./arch and ./os-type
44: %
45: exit 0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.