(Slightly) better comments for Policy_sh.SH from Andy.
[p5sagit/p5-mst-13.2.git] / Porting / config_H
index a86112e..4f31389 100644 (file)
@@ -17,7 +17,7 @@
 /*
  * Package name      : perl5
  * Source directory  : .
- * Configuration time: Sat Oct 23 19:30:38 EET DST 1999
+ * Configuration time: Wed Oct 27 21:34:17 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
  */
 #define HAS_MKTIME             /**/
 
-/* HAS_MSYNC:
- *     This symbol, if defined, indicates that the msync system call is
- *     available to synchronize a mapped file.
- */
-#define HAS_MSYNC              /**/
-
-/* HAS_MUNMAP:
- *     This symbol, if defined, indicates that the munmap system call is
- *     available to unmap a region, usually mapped by mmap().
- */
-#define HAS_MUNMAP             /**/
-
 /* HAS_NICE:
  *     This symbol, if defined, indicates that the nice routine is
  *     available.
  *     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
  *     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
  *     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
  *     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.
  *     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.
  *     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
  *     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()
 #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:
  */
 #define HAS_MEMCHR     /**/
 
-/* HAS_MMAP:
- *     This symbol, if defined, indicates that the mmap system call is
- *     available to map a file into memory.
- */
-/* Mmap_t:
- *     This symbol holds the return type of the mmap() system call
- *     (and simultaneously the type of the first argument).
- *     Usually set to 'void *' or 'cadd_t'.
- */
-#define HAS_MMAP               /**/
-#define Mmap_t void *  /**/
-
 /* HAS_MSG:
  *     This symbol, if defined, indicates that the entire msg*(2) library is
  *     supported (IPC mechanism based on message queues).
  *     Checking just with #ifdef might not be enough because this symbol
  *     has been known to be an enum.
  */
-/* HAS_SENDMSG:
- *     This symbol, if defined, indicates that the sendmsg is supported
- *     to send messages between sockets.  You will also need struct
- *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
- */
-/* HAS_RECVMSG:
- *     This symbol, if defined, indicates that the recvmsg is supported
- *     to send messages between sockets.  You will also need struct
- *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
- */
-/* HAS_STRUCT_MSGHDR:
- *     This symbol, if defined, indicates that the struct msghdr
- *     (BSD 4.3 or 4.4) is supported.  You will also need struct
- *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
- */
-/* HAS_STRUCT_CMSGHDR:
- *     This symbol, if defined, indicates that the struct cmsghdr
- *     (BSD 4.4) is supported.  You will also need struct
- *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
- */
 #define        HAS_SOCKET              /**/
 #define        HAS_SOCKETPAIR  /**/
 #define        HAS_MSG_CTRUNC  /**/
 #define        HAS_MSG_PEEK    /**/
 /*#define      HAS_MSG_PROXY   / **/
 #define        HAS_SCM_RIGHTS  /**/
-#define        HAS_SENDMSG     /**/
-#define        HAS_RECVMSG     /**/
-#define        HAS_STRUCT_MSGHDR       /**/
-#define        HAS_STRUCT_CMSGHDR      /**/
 
 /* USE_STAT_BLOCKS:
  *     This symbol is defined if this system has a stat structure declaring
  *     This symbol, if defined, indicates that <sys/uio.h> exists and
  *     should be included.
  */
-/* HAS_STRUCT_IOVEC:
- *     This symbol, if defined, indicates that the struct iovec
- *     to do scatter writes/gather reads is supported.
- */
 #define        I_SYSUIO                /**/
-#define        HAS_STRUCT_IOVEC                /**/
 
 /* Free_t:
  *     This variable contains the return type of free().  It is usually
 /* 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
  *     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
  */
 /*#define HAS_ENDSPENT         / **/
 
+/* HAS_STRUCT_FS_DATA:
+ *     This symbol, if defined, indicates that the struct fs_data
+ *     to do statfs() is supported.
+ */
+/*#define HAS_STRUCT_FS_DATA   / **/
+
 /* HAS_FSEEKO:
  *     This symbol, if defined, indicates that the fseeko routine is
  *     available to fseek beyond 32 bits (useful for ILP32 hosts).
  */
 /*#define HAS_FSEEKO           / **/
 
+/* HAS_FSTATFS:
+ *     This symbol, if defined, indicates that the fstatfs routine is
+ *     available to stat filesystems by file descriptors.
+ */
+#define HAS_FSTATFS            /**/
 /* HAS_FTELLO:
  *     This symbol, if defined, indicates that the ftello routine is
  *     available to ftell beyond 32 bits (useful for ILP32 hosts).
 
 /* 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                / **/
 
  */
 #define HAS_LDBL_DIG   /* */
 
-/* HAS_MADVISE:
- *     This symbol, if defined, indicates that the madvise system call is
- *     available to map a file into memory.
- */
-#define HAS_MADVISE            /**/
-
-/* HAS_MPROTECT:
- *     This symbol, if defined, indicates that the mprotect system call is
- *     available to modify the access protection of a memory mapped file.
- */
-#define HAS_MPROTECT           /**/
-
-/* HAS_READV:
- *     This symbol, if defined, indicates that the readv routine is
- *     available to do gather reads.  You will also need <sys/uio.h>
- *     and there I_SYSUIO.
- */
-#define HAS_READV              /**/
-
 /* HAS_SETSPENT:
  *     This symbol, if defined, indicates that the setspent system call is
  *     available to initialize the scan of SysV shadow password entries.
  */
 #define HAS_SQRTL              /**/
 
-/* HAS_FSTATFS:
- *     This symbol, if defined, indicates that the fstatfs routine is
- *     available to stat filesystems of file descriptors.
- */
-/* HAS_STRUCT_STATFS_FLAGS:
+/* HAS_STRUCT_STATFS_F_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).
+ *     the filesystem containing the file.
+ *     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 ustat() and getmnt()
+ *     with struct ustat and struct fs_data.
  */
-#define HAS_FSTATFS            /**/
-#define HAS_STRUCT_STATFS_FLAGS                /**/
+#define HAS_STRUCT_STATFS_F_FLAGS              /**/
+
+/* HAS_STRUCT_STATFS:
+ *     This symbol, if defined, indicates that the struct statfs
+ *     to do statfs() is supported.
+ */
+#define HAS_STRUCT_STATFS      /**/
 
 /* 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           /**/
 
  */
 #define        HAS_TELLDIR_PROTO       /**/
 
-/* HAS_WRITEV:
- *     This symbol, if defined, indicates that the writev routine is
- *     available to do scatter writes.
+/* HAS_USTAT:
+ *     This symbol, if defined, indicates that the ustat system call is
+ *     available to query file system statistics by dev_t.
  */
-#define HAS_WRITEV             /**/
+#define HAS_USTAT              /**/
 
 /* USE_DYNAMIC_LOADING:
  *     This symbol, if defined, indicates that dynamic loading of
  *     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
  */
 /*#define      I_SOCKS         / **/
 
-/* I_SYS_MMAN:
- *     This symbol, if defined, indicates that <sys/mman.h> exists and
- *     should be included.
- */
-#define        I_SYS_MMAN              /**/
-
 /* I_SYS_MOUNT:
  *     This symbol, if defined, indicates that <sys/mount.h> exists and
  *     should be included.
  */
 #define        I_SYS_MOUNT             /**/
 
+/* I_SYS_STATFS:
+ *     This symbol, if defined, indicates that <sys/statfs.h> exists.
+ */
+/*#define      I_SYS_STATFS            / **/
+
 /* I_SYS_STATVFS:
  *     This symbol, if defined, indicates that <sys/statvfs.h> exists and
  *     should be included.
  */
 #define        I_SYS_STATVFS           /**/
 
+/* I_SYS_VFS:
+ *     This symbol, if defined, indicates that <sys/vfs.h> exists and
+ *     should be included.
+ */
+/*#define      I_SYS_VFS               / **/
+
+/* I_USTAT:
+ *     This symbol, if defined, indicates that <ustat.h> exists and
+ *     should be included.
+ */
+#define        I_USTAT         /**/
+
 /* HAS_OFF64_T:
  *     This symbol will be defined if the C compiler supports off64_t.
  */
  *     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
  *     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
 /* 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.
  *     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
  *     (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:
  *     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
  *     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: