Debian Codegraph @

regen-configure/U/installdirs/otherlibdirs.U

raw
1 ?RCS: $Id: otherlibdirs.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $
2 ?RCS:
3 ?RCS: Copyright (c) 1999-2000, Andy Dougherty
4 ?RCS:
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.
10 ?RCS:
11 ?RCS: $Log: otherlibdirs.U,v $
12 ?RCS: Revision 1.1 1999/07/08 18:32:57 doughera
13 ?RCS: Initial revision
14 ?RCS:
15 ?RCS: Revision 1.1 1999/07/08 18:20:26 doughera
16 ?RCS: Initial revision
17 ?RCS:
18 ?RCS:
19 ?MAKE:otherlibdirs d_perl_otherlibdirs: Myread cat sitelib sitearch \
20 vendorarch vendorlib Setvar
21 ?MAKE: -pick add $@ %<
22 ?Y:TOP
23 ?S:otherlibdirs:
24 ?S: This variable contains a colon-separated set of paths for the perl
25 ?S: binary to search for additional library files or modules.
26 ?S: These directories will be tacked to the end of @INC.
27 ?S: Perl will automatically search below each path for version-
28 ?S: and architecture-specific directories. See inc_version_list
29 ?S: for more details.
30 ?S: A value of ' ' means 'none' and is used to preserve this value
31 ?S: for the next run through Configure.
32 ?S:.
33 ?S:d_perl_otherlibdirs:
34 ?S: This variable conditionally defines PERL_OTHERLIBDIRS, which
35 ?S: contains a colon-separated set of paths for the perl binary to
36 ?S: include in @INC. See also otherlibdirs.
37 ?S:.
38 ?C:PERL_OTHERLIBDIRS:
39 ?C: This variable contains a colon-separated set of paths for the perl
40 ?C: binary to search for additional library files or modules.
41 ?C: These directories will be tacked to the end of @INC.
42 ?C: Perl will automatically search below each path for version-
43 ?C: and architecture-specific directories. See PERL_INC_VERSION_LIST
44 ?C: for more details.
45 ?C:.
46 ?H:#$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
47 ?H:.
48 ?LINT: set d_perl_otherlibdirs
49 : Final catch-all directories to search
50 $cat <<EOM
51
52 Lastly, you can have perl look in other directories for extensions and
53 modules in addition to those already specified.
54 These directories will be searched after
55 $sitearch
56 $sitelib
57 EOM
58 test X"$vendorlib" != "X" && echo ' ' $vendorlib
59 test X"$vendorarch" != "X" && echo ' ' $vendorarch
60 echo ' '
61 case "$otherlibdirs" in
62 ''|' ') dflt='none' ;;
63 *) dflt="$otherlibdirs" ;;
64 esac
65 $cat <<EOM
66 Enter a colon-separated set of extra paths to include in perl's @INC
67 search path, or enter 'none' for no extra paths.
68
69 EOM
70
71 rp='Colon-separated list of additional directories for perl to search?'
72 . ./myread
73 case "$ans" in
74 ' '|''|none) otherlibdirs=' ' ;;
75 *) otherlibdirs="$ans" ;;
76 esac
77 case "$otherlibdirs" in
78 ' ') val=$undef ;;
79 *) val=$define ;;
80 esac
81 set d_perl_otherlibdirs
82 eval $setvar
83