passcat=''
orderlib=''
ranlib=''
+d_perl_otherlibdirs=''
+otherlibdirs=''
package=''
spackage=''
pager=''
installvendorarch="$vendorarchexp"
fi
+: Final catch-all directories to search
+$cat <<EOM
+
+Lastly, you can have perl look in other directories for extensions and
+modules in addition to those already specified.
+These directories will be searched after
+ $sitearch
+ $sitelib
+EOM
+test X"$vendorlib" != "X" && echo ' ' $vendorlib
+test X"$vendorarch" != "X" && echo ' ' $vendorarch
+echo ' '
+case "$otherlibdirs" in
+''|' ') dflt='none' ;;
+*) dflt="$otherlibdirs" ;;
+esac
+$cat <<EOM
+Enter a colon-separated set of extra paths to include in perl's @INC
+search path, or enter 'none' for no extra paths.
+
+EOM
+
+rp='Colon-separated list of additional directories for perl to search?'
+. ./myread
+case "$ans" in
+' '|''|none) otherlibdirs=' ' ;;
+*) otherlibdirs="$ans" ;;
+esac
+case "$otherlibdirs" in
+' ') val=$undef ;;
+*) val=$define ;;
+esac
+set d_perl_otherlibdirs
+eval $setvar
+
: Cruising for prototypes
echo " "
echo "Checking out function prototypes..." >&4
d_open3='$d_open3'
d_pathconf='$d_pathconf'
d_pause='$d_pause'
+d_perl_otherlibdirs='$d_perl_otherlibdirs'
d_phostname='$d_phostname'
d_pipe='$d_pipe'
d_poll='$d_poll'
orderlib='$orderlib'
osname='$osname'
osvers='$osvers'
+otherlibdirs='$otherlibdirs'
package='$package'
pager='$pager'
passcat='$passcat'
As a final catch-all, Configure also offers an $otherlibdirs
variable. This variable contains a colon-separated list of additional
-directories to add to @INC. By default, it will be set to
-$prefix/site_perl if Configure detects that you have 5.004-era modules
-installed there. However, you can set it to anything you like.
+directories to add to @INC. By default, it will be empty.
+Perl will search these directories (including architecture and
+version-specific subdirectories) for add-on modules and extensions.
=item Man Pages
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
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.
d_open3='define'
d_pathconf='define'
d_pause='define'
+d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe='define'
d_poll='define'
orderlib='false'
osname='dec_osf'
osvers='4.0'
+otherlibdirs=' '
package='perl5'
pager='/c/bin/less'
passcat='cat /etc/passwd'
*/
#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.
*/
#define Pid_t $pidtype /* PID type */
+/* 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.
+ */
+#$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
+
/* PRIVLIB:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
d_open3='define'
d_pathconf='undef'
d_pause='undef'
+d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe='undef'
d_poll='undef'
orderlib=''
osname='epoc'
osvers=''
+otherlibdirs=''
package=''
pager=''
passcat=''
incpush(PERL_VENDORLIB_STEM, FALSE, TRUE);
#endif
+#ifdef PERL_OTHERLIBDIRS
+ incpush(PERL_OTHERLIBDIRS, TRUE, TRUE);
+#endif
+
if (!PL_tainting)
incpush(".", FALSE, FALSE);
}
$ perl_i_values="undef"
$ perl_malloctype="void *"
$ perl_freetype="void"
+$ perl_d_perl_otherlibdirs="undef"
+$ perl_otherlibdirs=""
$ IF mymalloc
$ THEN
$ perl_d_mymalloc="define"
$ WC "d_msg='" + perl_d_msg + "'"
$ WC "d_open3='" + perl_d_open3 + "'"
$ WC "d_poll='" + perl_d_poll + "'"
+$ WC "d_perl_otherlibdirs='" + perl_d_perl_otherlibdirs + "'"
+$ WC "otherlibdirs='" + perl_otherlibdirs + "'"
$ WC "d_readdir='" + perl_d_readdir + "'"
$ WC "d_seekdir='" + perl_d_seekdir + "'"
$ WC "d_telldir='" + perl_d_telldir + "'"
$d_oldpthreads='undef'
$d_open3='define'
$d_pathconf='define'
+$d_perl_otherlibdirs='undef'
$d_pause='define'
$d_phostname='undef'
$d_pipe='define'
$o_nonblock='O_NONBLOCK'
$old_pthread_create_joinable=''
$osname='VOS'
+$otherlibdirs=''
$package='perl5'
$pidtype='pid_t'
$pm_apiversion='5.00563'
*/
#define Pid_t $pidtype /* PID type */
+/* 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.
+ */
+#$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
+
/* PRIVLIB:
* This symbol contains the name of the private library for this package.
* The library is private in the sense that it needn't be in anyone's
d_open3='undef'
d_pathconf='undef'
d_pause='define'
+d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe='define'
d_poll='undef'
orderlib='false'
osname='MSWin32'
osvers='4.0'
+otherlibdirs=''
package='perl5'
pager='more /e'
passcat=''
d_open3='undef'
d_pathconf='undef'
d_pause='define'
+d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe='define'
d_poll='undef'
orderlib='false'
osname='MSWin32'
osvers='4.0'
+otherlibdirs=''
package='perl5'
pager='more /e'
passcat=''
d_open3='undef'
d_pathconf='undef'
d_pause='define'
+d_perl_otherlibdirs='undef'
d_phostname='undef'
d_pipe='define'
d_poll='undef'
orderlib='false'
osname='MSWin32'
osvers='4.0'
+otherlibdirs=''
package='perl5'
pager='more /e'
passcat=''