diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1998-11-05 12:46:02 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1998-11-05 12:46:02 +0000 |
commit | 921b29636518a15a86ae5128eab7e7c275037ce6 (patch) | |
tree | b655d3907937321623e1272fd1779b3704dccff3 /Porting/config_H | |
parent | a3ba788f0191e8b9b81ce65b28b93f4b5b27686e (diff) | |
download | perl-921b29636518a15a86ae5128eab7e7c275037ce6.tar.gz |
Configure update. Remove last trace of PTHREADS_CREATED_JOINABLE
(from vos/config.h). Update Porting/{Glossary,config*}.
p4raw-id: //depot/cfgperl@2204
Diffstat (limited to 'Porting/config_H')
-rw-r--r-- | Porting/config_H | 246 |
1 files changed, 171 insertions, 75 deletions
diff --git a/Porting/config_H b/Porting/config_H index 7a742e6a8b..97b5300cac 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -1,3 +1,7 @@ +/* This file (config_H) is a sample config.h file. If you are unable + to successfully run Configure, copy this file to config.h and + edit it to suit your system. +*/ /* * This file was produced by running the config_h.SH script, which * gets its values from config.sh, which is generally produced by @@ -13,9 +17,9 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Fri Sep 25 03:42:43 EDT 1998 - * Configured by : gsar - * Target system : sunos aatma 5.5.1 generic_103640-01 sun4m sparc sunw,sparcstation-20 + * Configuration time: Thu Nov 5 13:03:49 EET 1998 + * Configured by : jhi + * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ #ifndef _config_h_ @@ -34,23 +38,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 "/l1/packages/gsperl/bin" /**/ -#define BIN_EXP "/l1/packages/gsperl/bin" /**/ - -/* CPPSTDIN: - * This symbol contains the first part of the string which will invoke - * the C preprocessor on the standard input and produce to standard - * output. Typical value of "cc -E" or "/lib/cpp", but it can also - * call a wrapper. See CPPRUN. - */ -/* CPPMINUS: - * This symbol contains the second part of the string which will invoke - * the C preprocessor on the standard input and produce to standard - * output. This symbol will have the value "-" if CPPSTDIN needs a minus - * to specify standard input, otherwise the value is "". - */ -#define CPPSTDIN "gcc -E" -#define CPPMINUS "-" +#define BIN "/opt/perl/bin" /**/ +#define BIN_EXP "/opt/perl/bin" /**/ /* HAS_ALARM: * This symbol, if defined, indicates that the alarm routine is @@ -62,7 +51,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 @@ -164,7 +153,7 @@ * subprocesses to which it must pass the filename rather than the * file descriptor of the script to be executed. */ -#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ +/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ /*#define DOSUID / **/ /* HAS_DUP2: @@ -207,7 +196,7 @@ * This symbol, if defined, indicates that the flock routine is * available to do file locking. */ -/*#define HAS_FLOCK / **/ +#define HAS_FLOCK /**/ /* HAS_FORK: * This symbol, if defined, indicates that the fork routine is @@ -239,12 +228,26 @@ */ #define HAS_GETGROUPS /**/ +/* HAS_GETHOSTNAME: + * This symbol, if defined, indicates that the C program may use the + * gethostname() routine to derive the host name. See also HAS_UNAME + * and PHOSTNAME. + */ /* HAS_UNAME: * This symbol, if defined, indicates that the C program may use the * uname() routine to derive the host name. See also HAS_GETHOSTNAME * and PHOSTNAME. */ -#define HAS_UNAME /**/ +/* PHOSTNAME: + * This symbol, if defined, indicates that the C program may use the + * contents of PHOSTNAME as a command to feed to the popen() routine + * to derive the host name. See also HAS_GETHOSTNAME and HAS_UNAME. + * Note that the command uses a fully qualified path, so that it is safe + * even if used by a process with super-user privileges. + */ +#define HAS_GETHOSTNAME /**/ +/*#define HAS_UNAME / **/ +/*#define PHOSTNAME "" / * How to get the host name */ /* HAS_GETLOGIN: * This symbol, if defined, indicates that the getlogin routine is @@ -293,7 +296,7 @@ * inet_aton() function is available to parse IP address "dotted-quad" * strings. */ -/*#define HAS_INET_ATON / **/ +#define HAS_INET_ATON /**/ /* HAS_KILLPG: * This symbol, if defined, indicates that the killpg routine is available @@ -522,7 +525,7 @@ * for a POSIX interface. */ #define HAS_SETPGRP /**/ -/*#define USE_BSD_SETPGRP / **/ +#define USE_BSD_SETPGRP /**/ /* HAS_SETPGRP2: * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) @@ -566,13 +569,13 @@ * This symbol, if defined, indicates that the setrgid routine is available * to change the real gid of the current program. */ -/*#define HAS_SETRGID / **/ +#define HAS_SETRGID /**/ /* HAS_SETRUID: * This symbol, if defined, indicates that the setruid routine is available * to change the real uid of the current program. */ -/*#define HAS_SETRUID / **/ +#define HAS_SETRUID /**/ /* HAS_SETSID: * This symbol, if defined, indicates that the setsid routine is @@ -748,8 +751,8 @@ * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and * should be included. */ -/*#define I_DBM / **/ -#define I_RPCSVC_DBM /**/ +#define I_DBM /**/ +/*#define I_RPCSVC_DBM / **/ /* I_DIRENT: * This symbol, if defined, indicates to the C program that it should @@ -768,7 +771,7 @@ * portably declare your directory entries. */ #define I_DIRENT /**/ -/*#define DIRNAMLEN / **/ +#define DIRNAMLEN /**/ #define Direntry_t struct dirent /* I_DLFCN: @@ -780,7 +783,7 @@ /* I_FCNTL: * This manifest constant tells the C program to include <fcntl.h>. */ -#define I_FCNTL /**/ +/*#define I_FCNTL / **/ /* I_FLOAT: * This symbol, if defined, indicates to the C program that it should @@ -860,13 +863,13 @@ * This symbol, if defined, indicates to the C program that it should * include <sys/dir.h>. */ -/*#define I_SYS_DIR / **/ +#define I_SYS_DIR /**/ /* I_SYS_FILE: * This symbol, if defined, indicates to the C program that it should * include <sys/file.h> to get definition of R_OK and friends. */ -/*#define I_SYS_FILE / **/ +#define I_SYS_FILE /**/ /* I_SYS_IOCTL: * This symbol, if defined, indicates that <sys/ioctl.h> exists and should @@ -1032,15 +1035,15 @@ /* I_SYS_ACCESS: * This symbol, if defined, indicates to the C program that it should - * include <sysaccess.h>. + * include <sys/access.h>. */ -/*#define I_SYS_ACCESS / **/ +#define I_SYS_ACCESS /**/ /* I_SYS_SECURITY: * This symbol, if defined, indicates to the C program that it should * include <sys/security.h>. */ -/*#define I_SYS_SECURITY / **/ +#define I_SYS_SECURITY /**/ /* MEM_ALIGNBYTES: * This symbol contains the number of bytes required to align a @@ -1067,7 +1070,7 @@ * This might matter for NeXT 3.0. */ #ifndef NeXT -#define BYTEORDER 0x4321 /* large digits for MSB */ +#define BYTEORDER 0x12345678 /* large digits for MSB */ #else /* NeXT */ #ifdef __LITTLE_ENDIAN__ #define BYTEORDER 0x1234 @@ -1080,7 +1083,7 @@ * This symbol is defined if the C compiler can cast negative * or large floating point numbers to 32-bit ints. */ -#define CASTI32 /**/ +/*#define CASTI32 / **/ /* CASTNEGFLOAT: * This symbol is defined if the C compiler can cast negative @@ -1103,6 +1106,12 @@ */ /*#define VOID_CLOSEDIR / **/ +/* HAS_FD_SET: + * This symbol, when defined, indicates presence of the fd_set typedef + * in <sys/types.h> + */ +#define HAS_FD_SET /**/ + /* Gconvert: * This preprocessor macro is defined to convert a floating point * number to a string without a trailing decimal point. This @@ -1118,7 +1127,7 @@ * d_Gconvert='sprintf((b),"%.*g",(n),(x))' * The last two assume trailing zeros should not be kept. */ -#define Gconvert(x,n,t,b) gconvert((x),(n),(t),(b)) +#define Gconvert(x,n,t,b) gcvt((x),(n),(b)) /* HAS_GNULIBC: * This symbol, if defined, indicates to the C program that @@ -1173,6 +1182,13 @@ */ #define HAS_SIGACTION /**/ +/* HAS_SIGSETJMP: + * This variable indicates to the C program that the sigsetjmp() + * routine is available to save the calling process's registers + * and stack environment for later use by siglongjmp(), and + * to optionally save the process's signal mask. See + * Sigjmp_buf, Sigsetjmp, and Siglongjmp. + */ /* Sigjmp_buf: * This is the buffer type to be used with Sigsetjmp and Siglongjmp. */ @@ -1305,7 +1321,7 @@ * preprocessor can make decisions based on it. */ #define INTSIZE 4 /**/ -#define LONGSIZE 4 /**/ +#define LONGSIZE 8 /**/ #define SHORTSIZE 2 /**/ /* VAL_O_NONBLOCK: @@ -1341,13 +1357,32 @@ * the compiler supports (void *); otherwise it will be * sizeof(char *). */ -#define PTRSIZE 4 /**/ +#define PTRSIZE 8 /**/ +/* Drand01: + * This macro is to be used to generate uniformly distributed + * random numbers over the range [0., 1.[. You may have to supply + * an 'extern double drand48();' in your program since SunOS 4.1.3 + * doesn't provide you with anything relevant in it's headers. + * See HAS_DRAND48_PROTO. + */ +/* Rand_seed_t: + * This symbol defines the type of the argument of the + * random seed function. + */ +/* seedDrand01: + * This symbol defines the macro to be used in seeding the + * random number generator (see Drand01). + */ /* RANDBITS: - * This symbol contains the number of bits of random number the rand() - * function produces. Usual values are 15, 16, and 31. + * This symbol indicates how many bits are produced by the + * function used to generate normalized random numbers. + * Values include 15, 16, 31, and 48. */ -#define RANDBITS 15 /**/ +#define Drand01() drand48() /**/ +#define Rand_seed_t long /**/ +#define seedDrand01(x) srand48((Rand_seed_t)x) /**/ +#define RANDBITS 48 /**/ /* SSize_t: * This symbol holds the type used by functions that return @@ -1370,7 +1405,7 @@ * by Configure. You shouldn't rely on it too much; the specific * feature tests from Configure are generally more reliable. */ -#define OSNAME "solaris" /**/ +#define OSNAME "dec_osf" /**/ /* CAT2: * This macro catenates 2 tokens together. @@ -1392,6 +1427,31 @@ #include "Bletch: How does this C preprocessor catenate tokens?" #endif +/* CPPSTDIN: + * This symbol contains the first part of the string which will invoke + * the C preprocessor on the standard input and produce to standard + * output. Typical value of "cc -E" or "/lib/cpp", but it can also + * call a wrapper. See CPPRUN. + */ +/* CPPMINUS: + * This symbol contains the second part of the string which will invoke + * the C preprocessor on the standard input and produce to standard + * output. This symbol will have the value "-" if CPPSTDIN needs a minus + * to specify standard input, otherwise the value is "". + */ +/* CPPRUN: + * This symbol contains the string which will invoke a C preprocessor on + * the standard input and produce to standard output. It needs to end + * with CPPLAST, after all other preprocessor flags have been specified. + * The main difference with CPPSTDIN is that this program will never be a + * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is + * available directly to the user. Note that it may well be different from + * the preprocessor used to compile the C program. + */ +#define CPPSTDIN "cppstdin" +#define CPPMINUS "" +#define CPPRUN "/usr/bin/cpp" + /* HAS_ACCESS: * This manifest constant lets the C program know that the access() * system call is available to check for accessibility using real UID/GID. @@ -1399,6 +1459,9 @@ */ #define HAS_ACCESS /**/ +/* HAS_CSH: + * This symbol, if defined, indicates that the C-shell exists. + */ /* CSH: * This symbol, if defined, contains the full pathname of csh. */ @@ -1562,7 +1625,7 @@ */ #define HAS_LONG_DOUBLE /**/ #ifdef HAS_LONG_DOUBLE -#define LONG_DOUBLESIZE 16 /**/ +#define LONG_DOUBLESIZE 8 /**/ #endif /* HAS_LONG_LONG: @@ -1661,7 +1724,7 @@ * This symbol is defined if this system has a stat structure declaring * st_blksize and st_blocks. */ -#define USE_STAT_BLOCKS /* backward compatibility */ +#define USE_STAT_BLOCKS /**/ /* HAS_STRERROR: * This symbol, if defined, indicates that the strerror routine is @@ -1702,7 +1765,7 @@ */ /*#define HAS_UNION_SEMUN / **/ #define USE_SEMCTL_SEMUN /**/ -/*#define USE_SEMCTL_SEMID_DS / **/ +#define USE_SEMCTL_SEMID_DS /**/ /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the @@ -1779,8 +1842,8 @@ * contains pw_passwd. */ #define I_PWD /**/ -/*#define PWQUOTA / **/ -#define PWAGE /**/ +#define PWQUOTA /**/ +/*#define PWAGE / **/ /*#define PWCHANGE / **/ /*#define PWCLASS / **/ /*#define PWEXPIRE / **/ @@ -1801,7 +1864,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 @@ -1831,8 +1894,8 @@ * The last element is 0, corresponding to the 0 at the end of * the sig_name list. */ -#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "PWR", "WINCH", "URG", "IO", "STOP", "TSTP", "CONT", "TTIN", "TTOU", "VTALRM", "PROF", "XCPU", "XFSZ", "WAITING", "LWP", "FREEZE", "THAW", "CANCEL", "RTMIN", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "RTMAX", "IOT", "CLD", "POLL", 0 /**/ -#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 6, 18, 22, 0 /**/ +#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "IOINT", "STOP", "TSTP", "CONT", "CHLD", "TTIN", "TTOU", "AIO", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "INFO", "USR1", "USR2", "RESV", "RTMIN", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "MAX", "IOT", "LOST", "URG", "CLD", "IO", "POLL", "PTY", "PWR", "RTMAX", 0 /**/ +#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 6, 6, 16, 20, 23, 23, 23, 29, 48, 0 /**/ /* VOIDFLAGS: * This symbol indicates how much support of the void type is given by this @@ -1872,8 +1935,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 "/l1/packages/gsperl/lib/5.00552/sun4-solaris-thread" /**/ -#define ARCHLIB_EXP "/l1/packages/gsperl/lib/5.00552/sun4-solaris-thread" /**/ +#define ARCHLIB "/opt/perl/lib/5.00553/alpha-dec_osf-thread" /**/ +#define ARCHLIB_EXP "/opt/perl/lib/5.00553/alpha-dec_osf-thread" /**/ /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an @@ -2001,7 +2064,7 @@ * available to seekdir files larger than 2 gigabytes. */ /* HAS_STAT64: - * This symbol, if defined, indicates that the fstat64 routine is + * This symbol, if defined, indicates that the stat64 routine is * available to stat files larger than 2 gigabytes. */ /* HAS_TELLDIR64: @@ -2042,8 +2105,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 "/l1/packages/gsperl/lib/5.00552" /**/ -#define PRIVLIB_EXP "/l1/packages/gsperl/lib/5.00552" /**/ +#define PRIVLIB "/opt/perl/lib/5.00553" /**/ +#define PRIVLIB_EXP "/opt/perl/lib/5.00553" /**/ /* SELECT_MIN_BITS: * This symbol holds the minimum number of bits operated by select. @@ -2067,8 +2130,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 "/l1/packages/gsperl/lib/site_perl/5.00552/sun4-solaris-thread" /**/ -#define SITEARCH_EXP "/l1/packages/gsperl/lib/site_perl/5.00552/sun4-solaris-thread" /**/ +#define SITEARCH "/opt/perl/lib/site_perl/5.00553/alpha-dec_osf-thread" /**/ +#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00553/alpha-dec_osf-thread" /**/ /* SITELIB: * This symbol contains the name of the private library for this package. @@ -2083,15 +2146,15 @@ * 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 "/l1/packages/gsperl/lib/site_perl/5.00552" /**/ -#define SITELIB_EXP "/l1/packages/gsperl/lib/site_perl/5.00552" /**/ +#define SITELIB "/opt/perl/lib/site_perl/5.00553" /**/ +#define SITELIB_EXP "/opt/perl/lib/site_perl/5.00553" /**/ /* STARTPERL: * This variable contains the string to put in front of a perl * script to make sure (one hopes) that it runs with perl and not * some shell. */ -#define STARTPERL "#!/l1/packages/gsperl/bin/perl" /**/ +#define STARTPERL "#!/opt/perl/bin/perl" /**/ /* HAS_FGETPOS64: * This symbol, if defined, indicates that the fgetpos64 routine is @@ -2140,11 +2203,11 @@ /*#define HAS_TMPFILE64 / **/ /* USE_64_BITS: - * This symbol, if defined, indicates that 64-bit APIs should - * be used when available. If not defined, the native default APIs + * This symbol, if defined, indicates that 64-bit interfaces should + * 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_PERLIO: * This symbol, if defined, indicates that the PerlIO abstraction should @@ -2153,6 +2216,14 @@ */ /*#define USE_PERLIO / **/ +/* HAS_DRAND48_PROTO: + * This symbol, if defined, indicates that the system provides + * a prototype for the drand48() function. Otherwise, it is up + * to the program to supply one. A good guess is + * extern double drand48 _((void)); + */ +#define HAS_DRAND48_PROTO /**/ + /* HAS_GETHOST_PROTOS: * This symbol, if defined, indicates that <netdb.h> includes * prototypes for gethostent(), gethostbyname(), and @@ -2204,7 +2275,7 @@ #define Netdb_host_t const char * /**/ #define Netdb_hlen_t int /**/ #define Netdb_name_t const char * /**/ -#define Netdb_net_t long /**/ +#define Netdb_net_t int /**/ /* Select_fd_set_t: * This symbol holds the type used for the 2nd, 3rd, and 4th @@ -2220,26 +2291,47 @@ * where library files may be held under a private library, for * instance. */ -#define ARCHNAME "sun4-solaris-thread" /**/ +#define ARCHNAME "alpha-dec_osf-thread" /**/ + +/* PTHREAD_CREATE_JOINABLE: + * This symbol, if defined, indicates how to create pthread + * in joinable (aka undetached) state. Not defined here if + * pthread.h already has defined PTHREAD_CREATE_JOINABLE. + * If defined, possible values are PTHREAD_CREATE_UNDETACHED + * and __UNDETACHED. + */ +/*#define PTHREAD_CREATE_JOINABLE 0 / **/ /* HAS_PTHREAD_YIELD: * This symbol, if defined, indicates that the pthread_yield * routine is available to yield the execution of the current - * thread. + * thread. sched_yield is preferable to pthread_yield. + */ +/* SCHED_YIELD: + * This symbol defines the way to yield the execution of + * the current thread. Known ways are sched_yield, + * pthread_yield, and pthread_yield with NULL. */ /* HAS_SCHED_YIELD: * This symbol, if defined, indicates that the sched_yield * routine is available to yield the execution of the current - * thread. + * thread. sched_yield is preferable to pthread_yield. */ /*#define HAS_PTHREAD_YIELD / **/ +#define SCHED_YIELD sched_yield() /**/ #define HAS_SCHED_YIELD /**/ -/* PTHREADS_CREATED_JOINABLE: - * This symbol, if defined, indicates that pthreads are created - * in the joinable (aka undetached) state. +/* I_MACH_CTHREADS: + * This symbol, if defined, indicates to the C program that it should + * include <mach/cthreads.h>. + */ +/*#define I_MACH_CTHREADS / **/ + +/* MULTIPLICITY: + * This symbol, if defined, indicates that Perl should + * be built to use multiplicity. */ -#define PTHREADS_CREATED_JOINABLE /**/ +/*#define MULTIPLICITY / **/ /* USE_THREADS: * This symbol, if defined, indicates that Perl should @@ -2287,7 +2379,11 @@ * It can be int, long, off_t, etc... It may be necessary to include * <sys/types.h> to get any typedef'ed information. */ +/* LSEEKSIZE: + * This symbol holds the number of bytes used by the Off_t. + */ #define Off_t off_t /* <offset> type */ +#define LSEEKSIZE 8 /* <offset> size */ /* Mode_t: * This symbol holds the type used to declare file modes |