This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig maintenance.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 8 Dec 2000 16:22:28 +0000 (16:22 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 8 Dec 2000 16:22:28 +0000 (16:22 +0000)
p4raw-id: //depot/metaconfig@8041

U/modified/stdchar.U
U/perl/testsyml.U [new file with mode: 0644]

index 4530c66..aefd5cd 100644 (file)
@@ -24,7 +24,7 @@
 ?C:.
 ?H:#define STDCHAR $stdchar    /**/
 ?H:.
-?F:!stdioh
+?F:stdioh
 : see what type of char stdio uses.
 echo " "
 ?X: untangle the #include nest
diff --git a/U/perl/testsyml.U b/U/perl/testsyml.U
new file mode 100644 (file)
index 0000000..2ba0976
--- /dev/null
@@ -0,0 +1,39 @@
+?RCS: $Id: lns.U,v 3.0.1.1 1994/06/20 07:05:52 ram Exp $
+?RCS:
+?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: 
+?RCS: You may redistribute only under the terms of the Artistic Licence,
+?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 Licence; a copy of which may be found at the root
+?RCS: of the source tree for dist 3.0.
+?RCS:
+?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
+?RCS:
+?RCS: $Log: lns.U,v $
+?RCS: Revision 3.0.1.1  1994/06/20  07:05:52  ram
+?RCS: patch30: created by ADO
+?RCS:
+?MAKE:testsyml: lns test rm
+?MAKE: -pick add $@ %<
+?S:testsyml:
+?S:    This variable holds the switch of the test command to test
+?S:    for a symbolic link (if they are supported).  Typical values
+?S:    include '-h' and '-L'.
+?S:.
+: determine whether symbolic links are supported
+echo " "
+$lns blurfl sym
+if $test "X$testsyml" != X -a -h blurfl sym > /dev/null 2>&1 ; then
+       testsyml=-h
+fi
+if $test "X$testsyml" != X -a -L blurfl sym > /dev/null 2>&1 ; then
+       testsyml=-L
+fi
+if $test "X$testsyml" != X; then
+       echo "You can test for symbolic links with $testsyml." >&4
+else
+       echo "I do not know how you can test for symbolic links.." >&4
+fi
+$rm -f blurfl sym
+