This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add clearenv () probes
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 18 Oct 2005 13:44:18 +0000 (13:44 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 18 Oct 2005 13:44:18 +0000 (13:44 +0000)
p4raw-id: //depot/metaconfig@25792

U/perl/d_clearenv.U [new file with mode: 0644]

diff --git a/U/perl/d_clearenv.U b/U/perl/d_clearenv.U
new file mode 100644 (file)
index 0000000..6e95038
--- /dev/null
@@ -0,0 +1,24 @@
+?RCS: $Id$
+?RCS:
+?RCS: Copyright (c) 2005 H.Merijn Brand
+?RCS:
+?RCS: You may distribute under the terms of either the GNU General Public
+?RCS: License or the Artistic License, as specified in the README file.
+?RCS:
+?MAKE:d_clearenv: Inlibc
+?MAKE: -pick add $@ %<
+?S:d_clearenv:
+?S:    This variable conditionally defines the HAS_CLEARENV symbol, which
+?S:    indicates to the C program that the clearenv () routine is available.
+?S:.
+?C:HAS_CLEARENV:
+?C:    This symbol, if defined, indicates that the clearenv () routine is
+?C:    available for use.
+?C:.
+?H:#$d_clearenv HAS_CLEARENV           /**/
+?H:.
+?LINT:set d_clearenv
+: see if clearenv exists
+set clearenv d_clearenv
+eval $inlibc
+