From 3b777bb48ecd6a599e86393b690784822a7a696f Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Fri, 28 Apr 2000 18:44:15 +0000 Subject: support additional library locations via $Config{otherlibdirs} (from Andy Dougherty) p4raw-id: //depot/perl@6001 --- Porting/Glossary | 15 +++++++++++++++ Porting/config.sh | 2 ++ Porting/config_H | 10 ++++++++++ 3 files changed, 27 insertions(+) (limited to 'Porting') diff --git a/Porting/Glossary b/Porting/Glossary index d60a168ca3..f5ac6da3fb 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -1052,6 +1052,11 @@ d_pause (d_pause.U): indicates to the C program that the pause() routine is available to suspend a process until a signal is received. +d_perl_otherlibdirs (otherlibdirs.U): + This variable conditionally defines PERL_OTHERLIBDIRS, which + contains a colon-separated set of paths for the perl binary to + include in @INC. See also otherlibdirs. + d_phostname (d_gethname.U): This variable conditionally defines the HAS_PHOSTNAME symbol, which contains the shell command which, when fed to popen(), may be @@ -2757,6 +2762,16 @@ osvers (Oldconfig.U): same for this package, hints files might just be os_4.0 or os_4.1, etc., not keeping separate files for each little release. +otherlibdirs (otherlibdirs.U): + This variable contains a colon-separated set of paths for the perl + binary to search for additional library files or modules. + These directories will be tacked to the end of @INC. + Perl will automatically search below each path for version- + and architecture-specific directories. See inc_version_list + for more details. + A value of ' ' means 'none' and is used to preserve this value + for the next run through Configure. + package (package.U): This variable contains the name of the package being constructed. It is primarily intended for the use of later Configure units. diff --git a/Porting/config.sh b/Porting/config.sh index a658cc21e5..15d7893a06 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -253,6 +253,7 @@ d_oldsock='undef' d_open3='define' d_pathconf='define' d_pause='define' +d_perl_otherlibdirs='undef' d_phostname='undef' d_pipe='define' d_poll='define' @@ -611,6 +612,7 @@ optimize='-O' orderlib='false' osname='dec_osf' osvers='4.0' +otherlibdirs=' ' package='perl5' pager='/c/bin/less' passcat='cat /etc/passwd' diff --git a/Porting/config_H b/Porting/config_H index 130a613529..8657341118 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -2495,6 +2495,16 @@ */ #define INSTALL_USR_BIN_PERL /**/ +/* PERL_OTHERLIBDIRS: + * This variable contains a colon-separated set of paths for the perl + * binary to search for additional library files or modules. + * These directories will be tacked to the end of @INC. + * Perl will automatically search below each path for version- + * and architecture-specific directories. See PERL_INC_VERSION_LIST + * for more details. + */ +/*#define PERL_OTHERLIBDIRS " " / **/ + /* PERL_PRIfldbl: * This symbol, if defined, contains the string used by stdio to * format long doubles (format 'f') for output. -- cgit v1.2.1