This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
/\=/ does not require \ even in older awk
[metaconfig.git] / U / modified / lns.U
1 ?RCS: $Id: lns.U,v 3.0.1.1 1994/06/20 07:05:52 ram Exp $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
4 ?RCS:
5 ?RCS: You may redistribute only under the terms of the Artistic License,
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 License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
10 ?RCS:
11 ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
12 ?RCS:
13 ?RCS: $Log: lns.U,v $
14 ?RCS: Revision 3.0.1.1  1994/06/20  07:05:52  ram
15 ?RCS: patch30: created by ADO
16 ?RCS:
17 ?X:
18 ?X: This unit checks whether symbolic links are really supported.
19 ?X: We can't rely on d_symlink because that may be listed in the
20 ?X: C library but unimplemented.
21 ?X:
22 ?MAKE:lns: ln rm touch
23 ?MAKE:  -pick add $@ %<
24 ?S:lns:
25 ?S:     This variable holds the name of the command to make
26 ?S:     symbolic links (if they are supported).  It can be used
27 ?S:     in the Makefile. It is either 'ln -s' or 'ln'
28 ?S:.
29 : determine whether symbolic links are supported
30 echo " "
31 $touch blurfl
32 if $ln -s blurfl sym > /dev/null 2>&1 ; then
33         echo "Symbolic links are supported." >&4
34         lns="$ln -s"
35 else
36         echo "Symbolic links are NOT supported." >&4
37         lns="$ln"
38 fi
39 $rm -f blurfl sym
40