1 ?RCS: $Id: vendorprefix.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
3 ?RCS: Copyright (c) 1999 Andy Dougherty
5 ?RCS: You may redistribute only under the terms of the Artistic License,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 3.0.
11 ?RCS: $Log: vendorprefix.U,v $
12 ?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
13 ?RCS: Initial revision
15 ?MAKE:usevendorprefix vendorprefix vendorprefixexp +oldvendorprefix: \
16 Getfile Loc Oldconfig cat prefix Myread
17 ?MAKE: -pick add $@ %<
19 ?S: This variable tells whether the vendorprefix
20 ?S: and consequently other vendor* paths are in use.
23 ?S: This variable holds the full absolute path of the directory below
24 ?S: which the vendor will install add-on packages.
25 ?S: See INSTALL for usage and examples.
28 ?S: This variable holds the full absolute path of the directory below
29 ?S: which the vendor will install add-on packages. Derived from vendorprefix.
32 ?S: This variable is set non-null if the vendorprefix was previously defined
33 ?S: and gets set to a new value. Used internally by Configure only.
35 : Set the vendorprefix variables
38 The installation process will also create a directory for
39 vendor-supplied add-ons. Vendors who supply perl with their system
40 may find it convenient to place all vendor-supplied files in this
41 directory rather than in the main distribution directory. This will
42 ease upgrades between binary-compatible maintenance versions of perl.
44 Of course you may also use these directories in whatever way you see
45 fit. For example, you might use them to access modules shared over a
48 The default answer should be fine for most people.
49 This causes further questions about vendor add-ons to be skipped
50 and no vendor-specific directories will be configured for perl.
53 rp='Do you want to configure vendor-specific add-on directories?'
54 case "$usevendorprefix" in
55 define|true|[yY]*) dflt=y ;;
56 *) : User may have set vendorprefix directly on Configure command line.
57 case "$vendorprefix" in
66 rp='Installation prefix to use for vendor-supplied add-ons?'
67 case "$vendorprefix" in
69 *) dflt=$vendorprefix ;;
72 : XXX Prefixit unit does not yet support siteprefix and vendorprefix
74 case "$vendorprefix" in
78 *) oldvendorprefix="$prefix";;
82 usevendorprefix="$define"
84 vendorprefixexp="$ansexp"
86 *) usevendorprefix="$undef"