summaryrefslogtreecommitdiff
path: root/U/lns.U
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1994-05-04 23:00:00 +0000
committerLarry Wall <lwall@netlabs.com>1994-05-04 23:00:00 +0000
commit85e6fe838fb25b257a1b363debf8691c0992ef71 (patch)
treefd5340cd6c3bbabfc21d3b0cac48e7ab3a481ebf /U/lns.U
parent2304df62caa7d9be70e8b8bcdb454e139c9c103d (diff)
downloadperl-5a9.tar.gz
perl 5.0 alpha 9perl-5a9
[editor's note: the sparc executables have not been included, and emacs backup files have been removed]
Diffstat (limited to 'U/lns.U')
-rw-r--r--U/lns.U21
1 files changed, 21 insertions, 0 deletions
diff --git a/U/lns.U b/U/lns.U
new file mode 100644
index 0000000000..fcefb1fa32
--- /dev/null
+++ b/U/lns.U
@@ -0,0 +1,21 @@
+?RCS: $Id: lns.U,v $
+?RCS:
+?RCS: $Log: lns.U,v $
+?RCS:
+?MAKE:lns: ln touch
+?MAKE: -pick add $@ %<
+?S:lns:
+?S: This variable holds the name of the command to make
+?S: symbolic links (if they are supported). It can be used
+?S: in the Makefile. It is either 'ln -s' or 'ln'
+?S:.
+?X: We can't rely on d_symlink because that may be listed in the
+?X: C library but unimplemented.
+: determine whether symbolic links are supported
+$touch blurfl
+if $ln -s blurfl sym > /dev/null 2>&1 ; then
+ lns="$ln -s"
+else
+ lns="$ln"
+fi
+rm -f blurfl sym