summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
Diffstat (limited to 'Porting')
-rw-r--r--Porting/Glossary42
-rw-r--r--Porting/config.sh12
-rw-r--r--Porting/config_H73
3 files changed, 88 insertions, 39 deletions
diff --git a/Porting/Glossary b/Porting/Glossary
index a53b9ed9d9..cff07b7851 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -608,10 +608,15 @@ d_getlogin (d_getlogin.U):
indicates to the C program that the getlogin() routine is available
to get the login name.
+d_getmnt (d_getmnt.U):
+ This variable conditionally defines the HAS_GETMNT symbol, which
+ indicates to the C program that the getmnt() routine is available
+ to retrieve one or more mount info blocks by filename.
+
d_getmntent (d_getmntent.U):
This variable conditionally defines the HAS_GETMNTENT symbol, which
indicates to the C program that the getmntent() routine is available
- to iterate through mounted files.
+ to iterate through mounted files to get their mount info.
d_getnbyaddr (d_getnbyad.U):
This variable conditionally defines the HAS_GETNETBYADDR symbol, which
@@ -1487,6 +1492,9 @@ d_union_semun (d_union_semun.U):
This variable conditionally defines HAS_UNION_SEMUN if the
union semun is defined by including <sys/sem.h>.
+d_vendorbin (vendorbin.U):
+ This variable conditionally defines PERL_VENDORBIN.
+
d_vendorlib (vendorlib.U):
This variable conditionally defines PERL_VENDORLIB.
@@ -2106,6 +2114,11 @@ installsitearch (sitearch.U):
those systems using AFS. For extra portability, only this variable
should be used in makefiles.
+installsitebin (sitebin.U):
+ This variable is usually the same as sitebinexp, unless you are on
+ a system running AFS, in which case they may differ slightly. You
+ should always use this variable within your makefiles for portability.
+
installsitelib (sitelib.U):
This variable is really the same as sitelibexp but may differ on
those systems using AFS. For extra portability, only this variable
@@ -2134,6 +2147,11 @@ installusrbinperl (instubperl.U):
/usr/bin/perl in addition to
$installbin/perl
+installvendorbin (vendorbin.U):
+ This variable is really the same as vendorbinexp but may differ on
+ those systems using AFS. For extra portability, only this variable
+ should be used in makefiles.
+
installvendorlib (vendorlib.U):
This variable is really the same as vendorlibexp but may differ on
those systems using AFS. For extra portability, only this variable
@@ -2783,6 +2801,16 @@ sitearchexp (sitearch.U):
This variable is the ~name expanded version of sitearch, so that you
may use it directly in Makefiles or shell scripts.
+sitebin (sitebin.U):
+ This variable holds the name of the directory in which the user wants
+ to put add-on publicly executable files for the package in question. It
+ is most often a local directory such as /usr/local/bin. Programs using
+ this variable must be prepared to deal with ~name substitution.
+
+sitebinexp (sitebin.U):
+ This is the same as the sitebin variable, but is filename expanded at
+ configuration time, for use in your makefiles.
+
sitelib (sitelib.U):
This variable contains the eventual value of the SITELIB symbol,
which is the name of the private library for this package. It may
@@ -3140,6 +3168,18 @@ uuname (Loc.U):
This variable is defined but not used by Configure.
The value is a plain '' and is not useful.
+vendorbin (vendorbin.U):
+ This variable contains the eventual value of the VENDORBIN symbol,
+ which is the name of the private directory for exuctables for this package.
+ It may have a ~ on the front. It is up to the makefile to eventually create
+ this directory while performing installation (with ~ substitution).
+ Vendors who distribute perl binaries may place their own
+ extensions and modules in this directory.
+
+vendorbinexp (vendorbin.U):
+ This variable is the ~name expanded version of vendorbin, so that you
+ may use it directly in Makefiles or shell scripts.
+
vendorlib (vendorlib.U):
This variable contains the eventual value of the VENDORLIB symbol,
which is the name of the private library for this package. It may
diff --git a/Porting/config.sh b/Porting/config.sh
index 7b05c765c9..6b8301cbf2 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -8,7 +8,7 @@
# Package name : perl5
# Source directory : .
-# Configuration time: Tue Oct 19 10:28:21 EET DST 1999
+# Configuration time: Tue Oct 26 13:20:35 EET DST 1999
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
@@ -56,7 +56,7 @@ ccflags='-pthread -std -DLANGUAGE_C'
ccsymbols='__LANGUAGE_C__=1 _LONGLONG=1 LANGUAGE_C=1 SYSTYPE_BSD=1'
cf_by='jhi'
cf_email='yourname@yourhost.yourplace.com'
-cf_time='Tue Oct 19 10:28:21 EET DST 1999'
+cf_time='Tue Oct 26 13:20:35 EET DST 1999'
chgrp=''
chmod=''
chown=''
@@ -162,6 +162,7 @@ d_gethent='define'
d_gethname='define'
d_gethostprotos='define'
d_getlogin='define'
+d_getmnt='undef'
d_getmntent='undef'
d_getnbyaddr='define'
d_getnbyname='define'
@@ -346,6 +347,7 @@ d_tzname='define'
d_umask='define'
d_uname='define'
d_union_semun='undef'
+d_vendorbin='undef'
d_vendorlib='undef'
d_vfork='undef'
d_void_closedir='undef'
@@ -480,9 +482,11 @@ installprefixexp='/opt/perl'
installprivlib='/opt/perl/lib/5.00562'
installscript='/opt/perl/bin'
installsitearch='/opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread'
+installsitebin='/opt/perl/bin'
installsitelib='/opt/perl/lib/site_perl'
installstyle='lib'
installusrbinperl='define'
+installvendorbin=''
installvendorlib=''
intsize='4'
known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs re'
@@ -622,6 +626,8 @@ sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
signal_t='void'
sitearch='/opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread'
sitearchexp='/opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread'
+sitebin='/opt/perl/bin'
+sitebinexp='/opt/perl/bin'
sitelib='/opt/perl/lib/site_perl'
sitelibexp='/opt/perl/lib/site_perl'
siteprefix='/opt/perl'
@@ -687,6 +693,8 @@ usevendorprefix='undef'
usevfork='false'
usrinc='/usr/include'
uuname=''
+vendorbin=''
+vendorbinexp=''
vendorlib=''
vendorlibexp=''
vendorprefix=''
diff --git a/Porting/config_H b/Porting/config_H
index a86112e943..710fa8fa56 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Sat Oct 23 19:30:38 EET DST 1999
+ * Configuration time: Tue Oct 26 13:20:35 EET DST 1999
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -40,7 +40,7 @@
* This symbol indicates the C compiler can check for function attributes,
* such as printf formats. This is normally only supported by GNU cc.
*/
-#define HASATTRIBUTE /**/
+/*#define HASATTRIBUTE / **/
#ifndef HASATTRIBUTE
#define __attribute__(_arg_)
#endif
@@ -1193,7 +1193,7 @@
* probably use memmove() or memcpy(). If neither is defined, roll your
* own version.
*/
-#define HAS_SAFE_MEMCPY /**/
+/*#define HAS_SAFE_MEMCPY / **/
/* HAS_SANE_MEMCMP:
* This symbol, if defined, indicates that the memcmp routine is available
@@ -1423,8 +1423,8 @@
* This symbol contains the ~name expanded version of ARCHLIB, to be used
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
-#define ARCHLIB "/usr/local/lib/perl5/5.00562/alpha-dec_osf" /**/
-#define ARCHLIB_EXP "/usr/local/lib/perl5/5.00562/alpha-dec_osf" /**/
+#define ARCHLIB "/opt/perl/lib/5.00562/alpha-dec_osf-thread" /**/
+#define ARCHLIB_EXP "/opt/perl/lib/5.00562/alpha-dec_osf-thread" /**/
/* BIN:
* This symbol holds the path of the bin directory where the package will
@@ -1434,8 +1434,8 @@
* This symbol is the filename expanded version of the BIN symbol, for
* programs that do not want to deal with that at run-time.
*/
-#define BIN "/usr/local/bin" /**/
-#define BIN_EXP "/usr/local/bin" /**/
+#define BIN "/opt/perl/bin" /**/
+#define BIN_EXP "/opt/perl/bin" /**/
/* INSTALL_USR_BIN_PERL:
* This symbol, if defined, indicates that Perl is to be installed
@@ -1453,8 +1453,8 @@
* This symbol contains the ~name expanded version of PRIVLIB, to be used
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
-#define PRIVLIB "/usr/local/lib/perl5/5.00562" /**/
-#define PRIVLIB_EXP "/usr/local/lib/perl5/5.00562" /**/
+#define PRIVLIB "/opt/perl/lib/5.00562" /**/
+#define PRIVLIB_EXP "/opt/perl/lib/5.00562" /**/
/* SITEARCH:
* This symbol contains the name of the private library for this package.
@@ -1469,8 +1469,8 @@
* This symbol contains the ~name expanded version of SITEARCH, to be used
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
-#define SITEARCH "/usr/local/lib/site_perl/5.00562/alpha-dec_osf" /**/
-#define SITEARCH_EXP "/usr/local/lib/site_perl/5.00562/alpha-dec_osf" /**/
+#define SITEARCH "/opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread" /**/
+#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread" /**/
/* SITELIB:
* This symbol contains the name of the private library for this package.
@@ -1485,8 +1485,8 @@
* This symbol contains the ~name expanded version of SITELIB, to be used
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
-#define SITELIB "/usr/local/lib/site_perl" /**/
-#define SITELIB_EXP "/usr/local/lib/site_perl" /**/
+#define SITELIB "/opt/perl/lib/site_perl" /**/
+#define SITELIB_EXP "/opt/perl/lib/site_perl" /**/
/* PERL_VENDORLIB_EXP:
* This symbol contains the ~name expanded version of VENDORLIB, to be used
@@ -1546,10 +1546,10 @@
* This symbol is intended to be used along with CPPRUN in the same manner
* symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
*/
-#define CPPSTDIN "gcc -E"
-#define CPPMINUS "-"
-#define CPPRUN "gcc -E"
-#define CPPLAST "-"
+#define CPPSTDIN "cppstdin"
+#define CPPMINUS ""
+#define CPPRUN "/usr/bin/cpp"
+#define CPPLAST ""
/* HAS_ACCESS:
* This manifest constant lets the C program know that the access()
@@ -1655,7 +1655,7 @@
#define HAS_UNAME /**/
#undef HAS_PHOSTNAME
#ifdef HAS_PHOSTNAME
-#define PHOSTNAME "/usr/bin/hostname" /* How to get the host name */
+#define PHOSTNAME "" /* How to get the host name */
#endif
/* HAS_GETNETBYADDR:
@@ -2086,7 +2086,7 @@
/* MYMALLOC:
* This symbol, if defined, indicates that we're using our own malloc.
*/
-#define MYMALLOC /**/
+/*#define MYMALLOC / **/
/* SIG_NAME:
* This symbol contains a list of signal names in order of
@@ -2162,7 +2162,7 @@
* that use features like threads and multiplicity it is always
* for those versions.
*/
-#define PERL_BINCOMPAT_5005 /**/
+/*#define PERL_BINCOMPAT_5005 / **/
/* DLSYM_NEEDS_UNDERSCORE:
* This symbol, if defined, indicates that we need to prepend an
@@ -2192,13 +2192,13 @@
/* HAS_GETMNT:
* This symbol, if defined, indicates that the getmnt routine is
- * available.
+ * available to get filesystem mount info by filename.
*/
-# HAS_GETMNT /**/
+/*#define HAS_GETMNT / **/
/* HAS_GETMNTENT:
* This symbol, if defined, indicates that the getmntent routine is
- * available to iterate through mounted file systems.
+ * available to iterate through mounted file systems to get their info.
*/
/*#define HAS_GETMNTENT / **/
@@ -2267,21 +2267,22 @@
/* HAS_FSTATFS:
* This symbol, if defined, indicates that the fstatfs routine is
- * available to stat filesystems of file descriptors.
+ * available to stat filesystems by file descriptors.
*/
/* HAS_STRUCT_STATFS_FLAGS:
* This symbol, if defined, indicates that the struct statfs
* does have the f_flags member containing the mount flags of
* the filesystem holding the file.
- * This kind of struct statfs is coming from sys/mount.h (BSD),
- * not from sys/statfs.h (SYSV).
+ * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
+ * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
+ * have statfs() and struct statfs, they have getmnt().
*/
#define HAS_FSTATFS /**/
#define HAS_STRUCT_STATFS_FLAGS /**/
/* HAS_FSTATVFS:
* This symbol, if defined, indicates that the fstatvfs routine is
- * available to stat filesystems of file descriptors.
+ * available to stat filesystems by file descriptors.
*/
#define HAS_FSTATVFS /**/
@@ -2329,8 +2330,8 @@
* in the <db.h> header file. In older versions of DB, it was
* int, while in newer ones it is size_t.
*/
-#define DB_Hash_t int /**/
-#define DB_Prefix_t int /**/
+#define DB_Hash_t u_int32_t /**/
+#define DB_Prefix_t size_t /**/
/* I_INTTYPES:
* This symbol, if defined, indicates to the C program that it should
@@ -2447,7 +2448,7 @@
* script to make sure (one hopes) that it runs with perl and not
* some shell.
*/
-#define STARTPERL "#!/usr/local/bin/perl" /**/
+#define STARTPERL "#!/opt/perl/bin/perl" /**/
/* HAS_STDIO_STREAM_ARRAY:
* This symbol, if defined, tells that there is an array
@@ -2471,7 +2472,7 @@
* be used when available. If not defined, the native default interfaces
* will be used (be they 32 or 64 bits).
*/
-/*#define USE_64_BITS / **/
+#define USE_64_BITS /**/
/* USE_LARGE_FILES:
* This symbol, if defined, indicates that large file support
@@ -2508,7 +2509,7 @@
/* PERL_XS_APIVERSION:
* This variable contains the version of the oldest perl binary
* compatible with the present perl. perl.c:incpush() and
- * lib/lib.pm will automatically search in /usr/local/lib/site_perl/5.00562/alpha-dec_osf for older
+ * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread for older
* directories across major versions back to xs_apiversion.
* This is only useful if you have a perl library directory tree
* structured like the default one.
@@ -2527,7 +2528,7 @@
* compatible with the present perl. (That is, pure perl modules
* written for pm_apiversion will still work for the current
* version). perl.c:incpush() and lib/lib.pm will automatically
- * search in /usr/local/lib/site_perl for older directories across major versions
+ * search in /opt/perl/lib/site_perl for older directories across major versions
* back to pm_apiversion. This is only useful if you have a perl
* library directory tree structured like the default one. The
* versioned site_perl library was introduced in 5.005, so that's
@@ -2537,7 +2538,7 @@
* (presumably) be similar.
* See the INSTALL file for how this works.
*/
-#define PERL_XS_APIVERSION 5.005 /* Change to string for tuples?*/
+#define PERL_XS_APIVERSION 5.00562 /* Change to string for tuples?*/
#define PERL_PM_APIVERSION 5.005 /* Change to string for tuples?*/
/* HAS_DRAND48_PROTO:
@@ -2615,7 +2616,7 @@
* where library files may be held under a private library, for
* instance.
*/
-#define ARCHNAME "alpha-dec_osf" /**/
+#define ARCHNAME "alpha-dec_osf-thread" /**/
/* OLD_PTHREAD_CREATE_JOINABLE:
* This symbol, if defined, indicates how to create pthread
@@ -2666,7 +2667,7 @@
* This symbol, if defined, indicates that Perl should
* be built to use the old draft POSIX threads API.
*/
-/*#define USE_THREADS / **/
+#define USE_THREADS /**/
/*#define OLD_PTHREADS_API / **/
/* Time_t: