diff options
author | Andy Dougherty <doughera@lafayette.edu> | 1998-03-03 11:41:16 -0500 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-03-05 19:09:16 +0000 |
commit | 693762b493165ab96822ef2342af62f74dc0367b (patch) | |
tree | 3627087dfd4bdd21c3a4e303b875d4af19dd8e0a /Porting | |
parent | d1ca3daa86c9b198ada1278ef16d193996bbf3c9 (diff) | |
download | perl-693762b493165ab96822ef2342af62f74dc0367b.tar.gz |
Configure patches -01 and -02 for 5.004_61.
p4raw-id: //depot/perl@783
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/Glossary | 49 | ||||
-rw-r--r-- | Porting/config.sh | 29 | ||||
-rw-r--r-- | Porting/config_H | 89 | ||||
-rw-r--r-- | Porting/pumpkin.pod | 46 |
4 files changed, 181 insertions, 32 deletions
diff --git a/Porting/Glossary b/Porting/Glossary index 88c12cd48a..fe7e630ee9 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -380,7 +380,7 @@ d_gethbyaddr (d_gethbyad.U): d_gethent (d_gethent.U): This variable conditionally defines HAS_GETHOSTENT if gethostent() is - available to dup file descriptors. + available to look up host names in some data base or another. d_gethname (d_gethname.U): This variable conditionally defines the HAS_GETHOSTNAME symbol, which @@ -397,6 +397,23 @@ d_getnbyaddr (d_getnbyad.U): indicates to the C program that the getnetbyaddr() routine is available to look up networks by their IP addresses. +d_getnbyname (d_getnbynm.U): + This variable conditionally defines the HAS_GETNETBYNAME symbol, which + indicates to the C program that the getnetbyname() routine is available + to look up networks by their names. + +d_getpbyname (d_getprotby.U): + This variable conditionally defines the HAS_GETPROTOBYNAME + symbol, which indicates to the C program that the + getprotobyname() routine is available to look up protocols + by their name. + +d_getpbynumber (d_getprotby.U): + This variable conditionally defines the HAS_GETPROTOBYNUMBER + symbol, which indicates to the C program that the + getprotobynumber() routine is available to look up protocols + by their number. + d_getpgid (d_getpgid.U): This variable conditionally defines the HAS_GETPGID symbol, which indicates to the C program that the getpgid(pid) function @@ -420,6 +437,18 @@ d_getprior (d_getprior.U): This variable conditionally defines HAS_GETPRIORITY if getpriority() is available to get a process's priority. +d_getsbyname (d_getsrvby.U): + This variable conditionally defines the HAS_GETSERVBYNAME + symbol, which indicates to the C program that the + getservbyname() routine is available to look up services + by their name. + +d_getsbyport (d_getsrvby.U): + This variable conditionally defines the HAS_GETSERVBYPORT + symbol, which indicates to the C program that the + getservbyport() routine is available to look up services + by their port. + d_gettimeod (d_ftime.U): This variable conditionally defines the HAS_GETTIMEOFDAY symbol, which indicates that the gettimeofday() system call exists (to obtain a @@ -543,6 +572,12 @@ d_nice (d_nice.U): This variable conditionally defines the HAS_NICE symbol, which indicates to the C program that the nice() routine is available. +d_oldpthreads (usethreads.U): + This variable conditionally defines the OLD_PTHREADS_API symbol, + and indicates that Perl should be built to use the old + draft POSIX threads API. This is only potneially meaningful if + usethreads is set. + d_oldsock (d_socket.U): This variable conditionally defines the OLDSOCKET symbol, which indicates that the BSD socket interface is based on 4.1c and not 4.2. @@ -697,6 +732,10 @@ d_setgrps (d_setgrps.U): indicates to the C program that the setgroups() routine is available to set the list of process groups. +d_sethent (d_sethent.U): + This variable conditionally defines HAS_SETHOSTENT if sethostent() is + available. + d_setlinebuf (d_setlnbuf.U): This variable conditionally defines the HAS_SETLINEBUF symbol, which indicates to the C program that the setlinebuf() routine is available @@ -1014,6 +1053,10 @@ dlsrc (dlsrc.U): This variable contains the name of the dynamic loading file that will be used with the package. +doublesize (doublesize.U): + This variable contains the value of the DOUBLESIZE symbol, which + indicates to the C program how many bytes there are in a double. + dynamic_ext (Extensions.U): This variable holds a list of extension files we want to link dynamically into the package. It is used by Makefile. @@ -1696,6 +1739,10 @@ prototype (prototype.U): This variable holds the eventual value of CAN_PROTOTYPE, which indicates the C compiler can handle funciton prototypes. +ptrsize (ptrsize.U): + This variable contains the value of the PTRSIZE symbol, which + indicates to the C program how many bytes there are in a pointer. + randbits (randbits.U): This variable contains the eventual value of the RANDBITS symbol, which indicates to the C program how many bits of random number diff --git a/Porting/config.sh b/Porting/config.sh index 59663d958f..4fb150ef9d 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Tue Feb 24 12:39:16 EST 1998 +# Configuration time: Tue Mar 3 11:39:44 EST 1998 # Configured by : doughera # Target system : linux fractal 2.0.33 #1 tue feb 3 10:11:46 est 1998 i686 unknown @@ -30,15 +30,15 @@ afs='false' alignbytes='4' aphostname='' ar='ar' -archlib='/opt/perl/lib/i686-linux-thread/5.00460' -archlibexp='/opt/perl/lib/i686-linux-thread/5.00460' +archlib='/opt/perl/lib/i686-linux-thread/5.00461' +archlibexp='/opt/perl/lib/i686-linux-thread/5.00461' archname='i686-linux-thread' archobjs='' awk='awk' baserev='5.0' bash='' bin='/opt/perl/bin' -bincompat3='n' +bincompat3='' binexp='/opt/perl/bin' bison='' byacc='byacc' @@ -52,7 +52,7 @@ ccdlflags='-rdynamic' ccflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include' cf_by='doughera' cf_email='yourname@yourhost.yourplace.com' -cf_time='Tue Feb 24 12:39:16 EST 1998' +cf_time='Tue Mar 3 11:39:44 EST 1998' chgrp='' chmod='' chown='' @@ -124,11 +124,16 @@ d_gethent='define' d_gethname='undef' d_getlogin='define' d_getnbyaddr='define' +d_getnbyname='define' +d_getpbyname='define' +d_getpbynumber='define' d_getpgid='define' d_getpgrp2='undef' d_getpgrp='define' d_getppid='define' d_getprior='define' +d_getsbyname='define' +d_getsbyport='define' d_gettimeod='define' d_gnulibc='define' d_htonl='define' @@ -157,6 +162,7 @@ d_msgrcv='define' d_msgsnd='define' d_mymalloc='undef' d_nice='define' +d_oldpthreads='undef' d_oldsock='undef' d_open3='define' d_pathconf='define' @@ -191,6 +197,7 @@ d_semop='define' d_setegid='define' d_seteuid='define' d_setgrps='define' +d_sethent='define' d_setlinebuf='define' d_setlocale='define' d_setpgid='define' @@ -263,6 +270,7 @@ defvoidused='15' direntrytype='struct dirent' dlext='so' dlsrc='dl_dlopen.xs' +doublesize='8' dynamic_ext='B DB_File Fcntl GDBM_File IO NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs' eagain='EAGAIN' echo='echo' @@ -347,7 +355,7 @@ i_varhdr='stdarg.h' i_vfork='undef' incpath='' inews='' -installarchlib='/opt/perl/lib/i686-linux-thread/5.00460' +installarchlib='/opt/perl/lib/i686-linux-thread/5.00461' installbin='/opt/perl/bin' installman1dir='/opt/perl/man/man1' installman3dir='/opt/perl/man/man3' @@ -368,7 +376,7 @@ libc='' libperl='libperl.a' libpth='/usr/local/lib /lib /usr/lib' libs='-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt' -libswanted='sfio net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m pthread c cposix posix ndir dir crypt ucb BSD PW x' +libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m pthread c cposix posix ndir dir crypt ucb BSD PW x' line='line' lint='' lkflags='' @@ -411,6 +419,7 @@ netdb_hlen_type='int' netdb_host_type='const char *' netdb_name_type='const char *' netdb_net_type='unsigned long' +nm='nm' nm_opt='' nm_so_opt='--dynamic' nroff='nroff' @@ -439,6 +448,7 @@ prefixexp='/opt/perl' privlib='/opt/perl/lib' privlibexp='/opt/perl/lib' prototype='define' +ptrsize='4' randbits='31' ranlib=':' rd_nodata='-1' @@ -489,11 +499,12 @@ stdio_filbuf='' stdio_ptr='((fp)->_IO_read_ptr)' strings='/usr/include/string.h' submit='' -subversion='60' +subversion='61' sysman='/usr/man/man1' tail='' tar='' tbl='' +tee='tee' test='test' timeincl='/usr/include/sys/time.h ' timetype='time_t' @@ -521,5 +532,5 @@ xlibpth='/usr/lib/386 /lib/386' zcat='' zip='zip' PATCHLEVEL=4 -SUBVERSION=60 +SUBVERSION=61 CONFIG=true diff --git a/Porting/config_H b/Porting/config_H index ec3fbdba18..8079a38331 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Tue Feb 24 12:39:16 EST 1998 + * Configuration time: Tue Mar 3 11:39:44 EST 1998 * Configured by : doughera * Target system : linux fractal 2.0.33 #1 tue feb 3 10:11:46 est 1998 i686 unknown */ @@ -243,12 +243,6 @@ */ #define HAS_GETGROUPS /**/ -/* HAS_GETHOSTENT: - * This symbol, if defined, indicates that the gethostent routine is - * available to lookup host names in some data base or other. - */ -#define HAS_GETHOSTENT /**/ - /* 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 @@ -1471,6 +1465,12 @@ #define HAS_VPRINTF /**/ /*#define USE_CHAR_VSPRINTF / **/ +/* DOUBLESIZE: + * This symbol contains the size of a double, so that the C preprocessor + * can make decisions based on it. + */ +#define DOUBLESIZE 8 /**/ + /* I_TIME: * This symbol, if defined, indicates to the C program that it should * include <time.h>. @@ -1530,6 +1530,14 @@ #define RD_NODATA -1 #define EOF_NONBLOCK +/* PTRSIZE: + * This symbol contains the size of a pointer, so that the C preprocessor + * can make decisions based on it. It will be sizeof(void *) if + * the compiler supports (void *); otherwise it will be + * sizeof(char *). + */ +#define PTRSIZE 4 /**/ + /* RANDBITS: * This symbol contains the number of bits of random number the rand() * function produces. Usual values are 15, 16, and 31. @@ -1566,8 +1574,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/i686-linux-thread/5.00460" /**/ -#define ARCHLIB_EXP "/opt/perl/lib/i686-linux-thread/5.00460" /**/ +#define ARCHLIB "/opt/perl/lib/i686-linux-thread/5.00461" /**/ +#define ARCHLIB_EXP "/opt/perl/lib/i686-linux-thread/5.00461" /**/ /* CAT2: * This macro catenates 2 tokens together. @@ -1595,6 +1603,58 @@ */ #define CSH "/bin/csh" /**/ +/* HAS_GETHOSTBYADDR: + * This symbol, if defined, indicates that the gethostbyaddr() routine is + * available to look up hosts by their IP addresses. + */ +#define HAS_GETHOSTBYADDR /**/ + +/* HAS_GETHOSTBYNAME: + * This symbol, if defined, indicates that the gethostbyname() routine is + * available to look up host names in some data base or other. + */ +#define HAS_GETHOSTBYNAME /**/ + +/* HAS_GETHOSTENT: + * This symbol, if defined, indicates that the gethostent() routine is + * available to look up host names in some data base or another. + */ +#define HAS_GETHOSTENT /**/ + +/* HAS_GETNETBYADDR: + * This symbol, if defined, indicates that the getnetbyaddr() routine is + * available to look up networks by their IP addresses. + */ +#define HAS_GETNETBYADDR /**/ + +/* HAS_GETNETBYNAME: + * This symbol, if defined, indicates that the getnetbyname() routine is + * available to look up networks by their names. + */ +#define HAS_GETNETBYNAME /**/ + +/* HAS_GETPROTOBYNAME: + * This symbol, if defined, indicates that the getprotobyname() + * routine is available to look up protocols by their name. + */ +/* HAS_GETPROTOBYNUMBER: + * This symbol, if defined, indicates that the getprotobynumber() + * routine is available to look up protocols by their number. + */ +#define HAS_GETPROTOBYNAME /**/ +#define HAS_GETPROTOBYNUMBER /**/ + +/* HAS_GETSERVBYNAME: + * This symbol, if defined, indicates that the getservbyname() + * routine is available to look up services by their name. + */ +/* HAS_GETSERVBYPORT: + * This symbol, if defined, indicates that the getservbyport() + * routine is available to look up services by their port. + */ +#define HAS_GETSERVBYNAME /**/ +#define HAS_GETSERVBYPORT /**/ + /* HAS_SETGROUPS: * This symbol, if defined, indicates that the setgroups() routine is * available to set the list of process groups. If unavailable, multiple @@ -1602,6 +1662,12 @@ */ #define HAS_SETGROUPS /**/ +/* HAS_SETHOSTENT: + * This symbol, if defined, indicates that the sethostent() routine is + * available. + */ +#define HAS_SETHOSTENT /**/ + /* Signal_t: * This symbol's value is either "void" or "int", corresponding to the * appropriate return type of a signal handler. Thus, you can declare @@ -1806,6 +1872,11 @@ * This symbol, if defined, indicates that Perl should * be built to use threads. */ +/* OLD_PTHREADS_API: + * This symbol, if defined, indicates that Perl should + * be built to use the old draft POSIX threads API. + */ #define USE_THREADS /**/ +/*#define OLD_PTHREADS_API / **/ #endif diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index 885c813dfa..28d428bea4 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -357,21 +357,41 @@ permissions for system files; something like that might be appropriate. =head2 Run Configure This will build a config.sh and config.h. You can skip this if you haven't -changed Configure or config_h.SH at all. +changed Configure or config_h.SH at all. I use the following command -=head2 Update Porting/config_H + sh Configure -Dprefix=/opt/perl -Doptimize=-O -Dusethreads \ + -Dcf_by='yourname' \ + -Dcf_email='yourname@yourhost.yourplace.com' \ + -Dperladmin='yourname@yourhost.yourplace.com' \ + -Dmydomain='.yourplace.com' \ + -Dmyhostname='yourhost' \ + -des -[This section needs revision. We're currently working on easing -the task of keeping the vms, win32, and plan9 config.sh info -up-to-date.] +=head2 Update Porting/config.sh and Porting/config_H -The Porting/config_H file is provided to help those folks who can't -run Configure. It is important to keep it up-to-date. If you have -changed config_h.SH, those changes must be reflected in config_H as well. -(The name config_H was chosen to distinguish the file from config.h even -on case-insensitive file systems.) Simply edit the existing config_H -file; keep the first few explanatory lines and then copy your new -config.h below. +[XXX +This section needs revision. We're currently working on easing +the task of keeping the vms, win32, and plan9 config.sh info +up-to-date. The plan is to use keep up-to-date 'canned' config.sh +files in the appropriate subdirectories and then generate 'canned' +config.h files for vms, win32, etc. from the generic config.sh file. +This is to ease maintenance. When Configure gets updated, the parts +sometimes get scrambled around, and the changes in config_H can +sometimes be very hard to follow. config.sh, on the other hand, can +safely be sorted, so it's easy to track (typically very small) changes +to config.sh and then propoagate them to a canned 'config.h' by any +number of means, including a perl script in win32/ or carrying +config.sh and config_h.SH to a Unix system and running sh +config_h.SH.) +XXX] + +The Porting/config.sh and Porting/config_H files are provided to +help those folks who can't run Configure. It is important to keep +them up-to-date. If you have changed config_h.SH, those changes must +be reflected in config_H as well. (The name config_H was chosen to +distinguish the file from config.h even on case-insensitive file systems.) +Simply edit the existing config_H file; keep the first few explanatory +lines and then copy your new config.h below. It may also be necessary to update vms/config.vms and plan9/config.plan9, though you should be quite careful in doing so if @@ -1184,4 +1204,4 @@ All opinions expressed herein are those of the authorZ<>(s). =head1 LAST MODIFIED -$Id: pumpkin.pod,v 1.13 1997/08/28 18:26:40 doughera Released $ +$Id: pumpkin.pod,v 1.14 1998/03/03 17:14:47 doughera Released $ |