From 34638e050d2775ae152844dcdeaf170d0f95e9da Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Wed, 30 Mar 2005 14:05:35 +0000 Subject: [PATCH] Enable -Dusesitecustomize from Configure command line Will define USE_SITECUSTOMIZE for source files and set d_sitecustomize and usesitecustomize in config p4raw-id: //depot/metaconfig@24103 --- U/perl/d_sitecustomize.U | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 U/perl/d_sitecustomize.U diff --git a/U/perl/d_sitecustomize.U b/U/perl/d_sitecustomize.U new file mode 100644 index 0000000..4b3bb8d --- /dev/null +++ b/U/perl/d_sitecustomize.U @@ -0,0 +1,38 @@ +?RCS: $Id: d_sitecustomize.U,v $ +?RCS: +?RCS: Copyright (c) 2005-2005 H.Merijn Brand +?RCS: +?RCS: You may distribute under the terms of either the GNU General Public +?RCS: License or the Artistic License, as specified in the README file. +?RCS: +?RCS: $Log: d_sitecustomize.U,v $ +?RCS: +?MAKE:usesitecustomize d_sitecustomize: 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:. +?LINT:set d_sitecustomize + +d_sitecustomize="$undef" +case "$usesitecustomize" in + $define|true|[Yy]*) + usesitecustomize="$define" + d_sitecustomize="$define" + ;; + *) + usesitecustomize="$undef" + esac + -- 1.8.3.1