Commit | Line | Data |
---|---|---|
34638e05 MB |
1 | ?RCS: $Id: d_sitecustomize.U,v $ |
2 | ?RCS: | |
44c538c8 | 3 | ?RCS: Copyright (c) 2005-2006 H.Merijn Brand |
34638e05 MB |
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: | |
d4ffdce8 | 10 | ?MAKE:usesitecustomize: Oldconfig Setvar |
34638e05 MB |
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:. | |
34638e05 MB |
17 | ?C:USE_SITECUSTOMIZE: |
18 | ?C: This symbol, if defined, indicates that sitecustomize should | |
19 | ?C: be used. | |
20 | ?C:. | |
44c538c8 JD |
21 | ?H:?%<:@if USE_SITECUSTOMIZE |
22 | ?H:?%<:#ifndef USE_SITECUSTOMIZE | |
23 | ?H:?%<:#$usesitecustomize USE_SITECUSTOMIZE /**/ | |
24 | ?H:?%<:#endif | |
25 | ?H:?%<:@end | |
34638e05 | 26 | ?H:. |
2f125bce | 27 | : Check if site customization support was requested |
34638e05 MB |
28 | case "$usesitecustomize" in |
29 | $define|true|[Yy]*) | |
30 | usesitecustomize="$define" | |
34638e05 MB |
31 | ;; |
32 | *) | |
33 | usesitecustomize="$undef" | |
d4ffdce8 | 34 | ;; |
34638e05 MB |
35 | esac |
36 |