1 ?RCS: $Id: lns.U,v 3.0.1.1 1994/06/20 07:05:52 ram Exp $
3 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
11 ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
14 ?RCS: Revision 3.0.1.1 1994/06/20 07:05:52 ram
15 ?RCS: patch30: created by ADO
17 ?MAKE:issymlink: lns test rm sh_c
18 ?MAKE: -pick add $@ %<
20 ?S: This variable holds the test command to test for a symbolic link
21 ?S: (if they are supported). Typical values include 'test -h' and
25 : determine whether symbolic links are supported
29 echo "Checking how to test for symbolic links..." >&4
31 if $test "X$issymlink" = X; then
33 ?X: In some AIX 4 versions the (ksh) builtin test (-h) is broken.
35 $sh_c "PATH= test -h sym" >/dev/null 2>&1
40 if $test "X$issymlink" = X; then
41 $sh_c "$test -h sym" >/dev/null 2>&1
44 echo "Your builtin 'test -h' may be broken, I'm using external '$test -h'." >&4
47 if $test "X$issymlink" = X; then
48 if $test -L sym 2>/dev/null; then
52 if $test "X$issymlink" != X; then
53 echo "You can test for symbolic links with '$issymlink'." >&4
55 echo "I do not know how you can test for symbolic links." >&4
59 *) echo "No symbolic links, so not testing for their testing..." >&4