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