From: H.Merijn Brand Date: Fri, 8 Apr 2005 14:02:42 +0000 (+0000) Subject: usesiteconfig should do just fine. no need for the additional X-Git-Tag: 5.26.1~448 X-Git-Url: https://perl5.git.perl.org/metaconfig.git/commitdiff_plain/d4ffdce83780cb3c1110359fdfabc821a076fd78?hp=3cf920b4dc6b4687719d4cbe11ab3da9a715600c usesiteconfig should do just fine. no need for the additional d_usesiteconfig. Small disadvantage is that now the name does not reflect the variable (d_sitecustomize.U should have been names usesitecustomize.U) p4raw-id: //depot/metaconfig@24207 --- diff --git a/U/perl/d_sitecustomize.U b/U/perl/d_sitecustomize.U index 4b3bb8d..3934d31 100644 --- a/U/perl/d_sitecustomize.U +++ b/U/perl/d_sitecustomize.U @@ -7,32 +7,26 @@ ?RCS: ?RCS: $Log: d_sitecustomize.U,v $ ?RCS: -?MAKE:usesitecustomize d_sitecustomize: Oldconfig Setvar +?MAKE:usesitecustomize: Oldconfig Setvar ?MAKE: -pick add $@ %< ?S:usesitecustomize: ?S: This variable is set to true when the user requires a mechanism that ?S: allows the sysadmin to add entries to @INC at runtime. This variable ?S: being set, makes perl run '$sitelib/sitecustomize.pl' at startup. ?S:. -?S:d_sitecustomize: -?S: This variable conditionally defines the USE_SITECUSTOMIZE symbol, -?S: and indicates whether sitecustomize is available (and should be used). -?S:. ?C:USE_SITECUSTOMIZE: ?C: This symbol, if defined, indicates that sitecustomize should ?C: be used. ?C:. -?H:#$d_sitecustomize USE_SITECUSTOMIZE /**/ +?H:#$usesitecustomize USE_SITECUSTOMIZE /**/ ?H:. -?LINT:set d_sitecustomize -d_sitecustomize="$undef" case "$usesitecustomize" in $define|true|[Yy]*) usesitecustomize="$define" - d_sitecustomize="$define" ;; *) usesitecustomize="$undef" + ;; esac