X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Porting%2Fconfig_H;h=facfc259b7ce9c9bdc1b00de3acc4c17f6ceda48;hb=0befd8dec1ff7952dee032f4b26cf7790562ab0a;hp=3321c5a029a474a08453fdf96fb50a1e9c31bdc6;hpb=2d228ff30cfbbcfa9eeed02d1bf3ed270f2ff75a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Porting/config_H b/Porting/config_H index 3321c5a..facfc25 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Sun Oct 3 02:17:38 EET DST 1999 + * Configuration time: Fri Oct 29 18:38:18 EET DST 1999 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -362,18 +362,6 @@ */ #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. @@ -1423,8 +1411,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 "/opt/perl/lib/5.00561/alpha-dec_osf-thread" /**/ -#define ARCHLIB_EXP "/opt/perl/lib/5.00561/alpha-dec_osf-thread" /**/ +#define ARCHLIB "/opt/perl/lib/5.00563/alpha-dec_osf-thread" /**/ +#define ARCHLIB_EXP "/opt/perl/lib/5.00563/alpha-dec_osf-thread" /**/ /* BIN: * This symbol holds the path of the bin directory where the package will @@ -1453,8 +1441,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 "/opt/perl/lib/5.00561" /**/ -#define PRIVLIB_EXP "/opt/perl/lib/5.00561" /**/ +#define PRIVLIB "/opt/perl/lib/5.00563" /**/ +#define PRIVLIB_EXP "/opt/perl/lib/5.00563" /**/ /* SITEARCH: * This symbol contains the name of the private library for this package. @@ -1462,15 +1450,17 @@ * execution path, but it should be accessible by the world. The program * should be prepared to do ~ expansion. * The standard distribution will put nothing in this directory. - * Individual sites may place their own extensions and modules in - * this directory. + * After perl has been installed, users may install their own local + * architecture-dependent modules in this directory with + * MakeMaker Makefile.PL + * or equivalent. See INSTALL for details. */ /* SITEARCH_EXP: * 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 "/opt/perl/lib/site_perl/5.00561/alpha-dec_osf-thread" /**/ -#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00561/alpha-dec_osf-thread" /**/ +#define SITEARCH "/opt/perl/lib/site_perl/5.00563/alpha-dec_osf-thread" /**/ +#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00563/alpha-dec_osf-thread" /**/ /* SITELIB: * This symbol contains the name of the private library for this package. @@ -1478,8 +1468,10 @@ * execution path, but it should be accessible by the world. The program * should be prepared to do ~ expansion. * The standard distribution will put nothing in this directory. - * Individual sites may place their own extensions and modules in - * this directory. + * After perl has been installed, users may install their own local + * architecture-independent modules in this directory with + * MakeMaker Makefile.PL + * or equivalent. See INSTALL for details. */ /* SITELIB_EXP: * This symbol contains the ~name expanded version of SITELIB, to be used @@ -1775,18 +1767,6 @@ */ #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). @@ -1893,26 +1873,6 @@ * 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 , 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 , 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 , 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 , HAS_STRUCT_IOVEC and I_SYSUIO. - */ #define HAS_SOCKET /**/ #define HAS_SOCKETPAIR /**/ #define HAS_MSG_CTRUNC /**/ @@ -1921,16 +1881,14 @@ #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 * st_blksize and st_blocks. */ +#ifndef USE_STAT_BLOCKS #define USE_STAT_BLOCKS /**/ +#endif /* HAS_STRERROR: * This symbol, if defined, indicates that the strerror routine is @@ -2066,12 +2024,7 @@ * This symbol, if defined, indicates that 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 @@ -2178,21 +2131,38 @@ */ /*#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). */ /*#define HAS_FTELLO / **/ +/* HAS_GETMNT: + * This symbol, if defined, indicates that the getmnt routine is + * available to get filesystem mount info by filename. + */ +/*#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 / **/ @@ -2222,25 +2192,6 @@ */ #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 - * 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. @@ -2253,23 +2204,32 @@ */ /*#define USE_SFIO / **/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems of file descriptors. +/* HAS_SQRTL: + * This symbol, if defined, indicates that the sqrtl routine is + * available to do long double square roots. */ -/* HAS_STRUCT_STATFS_FLAGS: +#define HAS_SQRTL /**/ + +/* 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 (BSD 4.3), + * not from (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 /**/ @@ -2281,11 +2241,11 @@ */ #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 @@ -2362,24 +2322,35 @@ */ /*#define I_SOCKS / **/ -/* I_SYS_MMAN: - * This symbol, if defined, indicates that exists and - * should be included. - */ -#define I_SYS_MMAN /**/ - /* I_SYS_MOUNT: * This symbol, if defined, indicates that exists and * should be included. */ #define I_SYS_MOUNT /**/ +/* I_SYS_STATFS: + * This symbol, if defined, indicates that exists. + */ +/*#define I_SYS_STATFS / **/ + /* I_SYS_STATVFS: * This symbol, if defined, indicates that exists and * should be included. */ #define I_SYS_STATVFS /**/ +/* I_SYS_VFS: + * This symbol, if defined, indicates that exists and + * should be included. + */ +/*#define I_SYS_VFS / **/ + +/* I_USTAT: + * This symbol, if defined, indicates that exists and + * should be included. + */ +#define I_USTAT /**/ + /* HAS_OFF64_T: * This symbol will be defined if the C compiler supports off64_t. */ @@ -2459,44 +2430,68 @@ * be used when available. If not defined, the native default interfaces * will be used (be they 32 or 64 bits). */ +#ifndef USE_64_BITS #define USE_64_BITS /**/ +#endif /* USE_LARGE_FILES: * This symbol, if defined, indicates that large file support * should be used when available. The USE_64_BITS symbol will * also be turned on if necessary. */ +#ifndef USE_LARGE_FILES /*#define USE_LARGE_FILES / **/ +#endif /* USE_LONG_DOUBLE: * This symbol, if defined, indicates that long doubles should * be used when available. */ +#ifndef USE_LONG_DOUBLE /*#define USE_LONG_DOUBLE / **/ +#endif + +/* USE_LONG_LONG: + * This symbol, if defined, indicates that long longs should + * be used when available. + */ +#ifndef USE_LONG_LONG +/*#define USE_LONG_LONG / **/ +#endif + +#ifndef USE_MORE_BITS +/*#define USE_MORE_BITS / **/ +#endif /* MULTIPLICITY: * This symbol, if defined, indicates that Perl should * be built to use multiplicity. */ +#ifndef MULTIPLICTY /*#define MULTIPLICITY / **/ +#endif /* USE_PERLIO: * This symbol, if defined, indicates that the PerlIO abstraction should * be used throughout. If not defined, stdio should be * used in a fully backward compatible manner. */ +#ifndef USE_PERLIO /*#define USE_PERLIO / **/ +#endif /* USE_SOCKS: * This symbol, if defined, indicates that Perl should * be built to use socks. */ +#ifndef USE_SOCKS /*#define USE_SOCKS / **/ +#endif /* 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 /opt/perl/lib/site_perl/5.00561/alpha-dec_osf-thread for older + * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.00563/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. @@ -2525,7 +2520,7 @@ * (presumably) be similar. * See the INSTALL file for how this works. */ -#define PERL_XS_APIVERSION 5.00561 /* Change to string for tuples?*/ +#define PERL_XS_APIVERSION 5.00563 /* Change to string for tuples?*/ #define PERL_PM_APIVERSION 5.005 /* Change to string for tuples?*/ /* HAS_DRAND48_PROTO: @@ -2654,7 +2649,9 @@ * This symbol, if defined, indicates that Perl should * be built to use the old draft POSIX threads API. */ +#ifndef USE_TTHREADS #define USE_THREADS /**/ +#endif /*#define OLD_PTHREADS_API / **/ /* Time_t: @@ -2678,6 +2675,17 @@ */ #define Fpos_t fpos_t /* File position type */ +/* Gid_t_SIGN: + * This symbol holds the signedess of a Gid_t. + * 1 for unsigned, -1 for signed. + */ +#define Gid_t_SIGN 1 /* GID sign */ + +/* Gid_t_SIZE: + * This symbol holds the size of a Gid_t in bytes. + */ +#define Gid_t_SIZE 4 /* GID size */ + /* Gid_t: * This symbol holds the return type of getgid() and the type of * argument to setrgid() and related functions. Typically, @@ -2713,6 +2721,23 @@ */ #define Pid_t pid_t /* PID type */ +/* Quad_t: + * This symbol holds the type used for 64-bit integers. + * It can be int, long, long long, int64_t etc... + */ +/* QUADCASE: + * This symbol, if defined, encodes the type of a quad: + * 1 = int, 2 = long, 3 = long long, 4 = int64_t. + */ +/* Uquad_t: + * This symbol holds the type used for unsigned 64-bit integers. + * It can be unsigned int, unsigned long, unsigned long long, + * uint64_t etc... + */ +#define Quad_t long +#define Uquad_t unsigned long +#define QUADCASE 2 + /* Size_t: * This symbol holds the type used to declare length parameters * for string functions. It is usually size_t, but may be @@ -2727,6 +2752,11 @@ */ #define Uid_t_SIGN 1 /* UID sign */ +/* Uid_t_SIZE: + * This symbol holds the size of a Uid_t in bytes. + */ +#define Uid_t_SIZE 4 /* UID size */ + /* Uid_t: * This symbol holds the type used to declare user ids in the kernel. * It can be int, ushort, uid_t, etc... It may be necessary to include