This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RE: [perl #26136] localtime(3) calls tzset(3), but localtime_r(3) may not.
[metaconfig.git] / U / modified / lns.U
CommitLineData
73528f55
JH
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 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.
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
30echo " "
31$touch blurfl
32if $ln -s blurfl sym > /dev/null 2>&1 ; then
33 echo "Symbolic links are supported." >&4
67d860b4 34 lns="$ln -s"
73528f55
JH
35else
36 echo "Symbolic links are NOT supported." >&4
37 lns="$ln"
38fi
39$rm -f blurfl sym
40