This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix .gitignore: only ignore 'perl' in root of repo, not U/perl subdir
[metaconfig.git] / U / perl / d_getcwd.U
CommitLineData
937acff7
JH
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 2000 Jarkko Hietaniemi
4?RCS:
5?RCS: You may distribute under the terms of either the GNU General Public
6?RCS: License or the Artistic License, as specified in the README file.
7?RCS:
8?MAKE:d_getcwd: Inlibc
9?MAKE: -pick add $@ %<
10?S:d_getcwd:
11?S: This variable conditionally defines the HAS_GETCWD symbol, which
12?S: indicates to the C program that the getcwd() routine is available
13?S: to get the current working directory.
14?S:.
15?C:HAS_GETCWD :
16?C: This symbol, if defined, indicates that the getcwd routine is
17?C: available to get the current working directory.
18?C:.
19?H:#$d_getcwd HAS_GETCWD /**/
20?H:.
21?LINT:set d_getcwd
22: see if getcwd exists
23set getcwd d_getcwd
24eval $inlibc
25