This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Backport #24171: correctly spotting modfl prototype
[metaconfig.git] / U / perl / d_sitecustomize.U
1 ?RCS: $Id: d_sitecustomize.U,v $
2 ?RCS:
3 ?RCS: Copyright (c) 2005-2005 H.Merijn Brand
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 ?RCS: $Log: d_sitecustomize.U,v $
9 ?RCS:
10 ?MAKE:usesitecustomize d_sitecustomize: Oldconfig Setvar
11 ?MAKE:  -pick add $@ %<
12 ?S:usesitecustomize:
13 ?S:     This variable is set to true when the user requires a mechanism that
14 ?S:     allows the sysadmin to add entries to @INC at runtime.  This variable
15 ?S:     being set, makes perl run '$sitelib/sitecustomize.pl' at startup.
16 ?S:.
17 ?S:d_sitecustomize:
18 ?S:     This variable conditionally defines the USE_SITECUSTOMIZE symbol,
19 ?S:     and indicates whether sitecustomize is available (and should be used).
20 ?S:.
21 ?C:USE_SITECUSTOMIZE:
22 ?C:     This symbol, if defined, indicates that sitecustomize should
23 ?C:     be used.
24 ?C:.
25 ?H:#$d_sitecustomize    USE_SITECUSTOMIZE               /**/
26 ?H:.
27 ?LINT:set d_sitecustomize
28
29 d_sitecustomize="$undef"
30 case "$usesitecustomize" in
31     $define|true|[Yy]*)
32         usesitecustomize="$define"
33         d_sitecustomize="$define"
34         ;;
35     *)
36         usesitecustomize="$undef"
37     esac
38