blob: d1e6dc531b2861a93de264588a6c55bd46f9154f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
?RCS: $Id: afs.U 167 2013-05-08 17:58:00Z rmanfredi $
?RCS:
?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?RCS:
?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: that same Artistic License; a copy of which may be found at the root
?RCS: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: afs.U,v $
?RCS: Revision 3.0.1.2 1997/02/28 15:23:06 ram
?RCS: patch61: can now explicitly tell Configure whether AFS is running
?RCS:
?RCS: Revision 3.0.1.1 1993/08/24 12:24:43 ram
?RCS: patch3: created
?RCS:
?MAKE:afs afsroot: test
?MAKE: -pick add $@ %<
?S:afs:
?S: This variable is set to 'true' if AFS (Andrew File System) is used
?S: on the system, 'false' otherwise. It is possible to override this
?S: with a hint value or command line option, but you'd better know
?S: what you are doing.
?S:.
?S:afsroot:
?S: This variable is by default set to '/afs'. In the unlikely case
?S: this is not the correct root, it is possible to override this with
?S: a hint value or command line option. This will be used in subsequent
?S: tests for AFSness in the configure and test process.
?S:.
: allow them to override the AFS root
case "$afsroot" in
'') afsroot=/afs ;;
*) afsroot=$afsroot ;;
esac
: is AFS running?
echo " "
case "$afs" in
$define|true) afs=true ;;
$undef|false) afs=false ;;
*) if $test -d $afsroot; then
afs=true
else
afs=false
fi
;;
esac
if $afs; then
echo "AFS may be running... I'll be extra cautious then..." >&4
else
echo "AFS does not seem to be running..." >&4
fi
|