diff options
-rwxr-xr-x | Configure | 28 | ||||
-rw-r--r-- | Porting/Glossary | 4 | ||||
-rw-r--r-- | Porting/config.sh | 13 | ||||
-rw-r--r-- | Porting/config_H | 13 | ||||
-rw-r--r-- | config_h.SH | 11 | ||||
-rw-r--r-- | configure.com | 2 | ||||
-rw-r--r-- | epoc/config.sh | 1 | ||||
-rw-r--r-- | uconfig.h | 11 | ||||
-rwxr-xr-x | uconfig.sh | 3 | ||||
-rw-r--r-- | vos/config.alpha.def | 2 | ||||
-rw-r--r-- | vos/config.alpha.h | 6 | ||||
-rw-r--r-- | vos/config.ga.def | 2 | ||||
-rw-r--r-- | vos/config.ga.h | 6 | ||||
-rw-r--r-- | win32/config.bc | 3 | ||||
-rw-r--r-- | win32/config.gc | 3 | ||||
-rw-r--r-- | win32/config.vc | 3 |
16 files changed, 99 insertions, 12 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Tue Mar 13 05:21:04 EET 2001 [metaconfig 3.0 PL70] +# Generated on Tue Mar 27 07:51:37 EET DST 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -521,6 +521,7 @@ d_shmget='' d_sigaction='' d_sigprocmask='' d_sigsetjmp='' +d_sockatmark='' d_msg_ctrunc='' d_msg_dontroute='' d_msg_oob='' @@ -11619,6 +11620,10 @@ set d_sigsetjmp eval $setvar $rm -f try.c try +: see if sockatmark exists +set sockatmark d_sockatmark +eval $inlibc + : see if socks5_init exists set socks5_init d_socks5_init eval $inlibc @@ -15437,6 +15442,26 @@ fi set i_sysioctl eval $setvar +: see if socket ioctl defs are in sys/sockio.h +echo " " +xxx=`./findhdr sys/sockio.h` +if $test "$xxx"; then + if $contains SIOCATMARK $xxx >/dev/null 2>&1; then + val="$define" + echo "You have socket ioctls defined in <sys/sockio.h>." >&4 + else + val="$undef" + echo "No socket ioctls found in <sys/sockio.h>." >&4 + fi +else + val="$undef" + $cat <<EOM +<sys/sockio.h> not found, assuming socket ioctls are in <sys/ioctl.h>. +EOM +fi +set i_syssockio +eval $setvar + : see if this is a syslog.h system set syslog.h i_syslog @@ -16180,6 +16205,7 @@ d_shmget='$d_shmget' d_sigaction='$d_sigaction' d_sigprocmask='$d_sigprocmask' d_sigsetjmp='$d_sigsetjmp' +d_sockatmark='$d_sockatmark' d_socket='$d_socket' d_socklen_t='$d_socklen_t' d_sockpair='$d_sockpair' diff --git a/Porting/Glossary b/Porting/Glossary index 4c7db23ba5..61a52c5489 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -1460,6 +1460,10 @@ d_sigsetjmp (d_sigsetjmp.U): which indicates that the sigsetjmp() routine is available to call setjmp() and optionally save the process's signal mask. +d_sockatmark (d_sockatmark.U): + This variable conditionally defines the HAS_SOCKATMARK symbol, which + indicates to the C program that the sockatmark() routine is available. + d_socket (d_socket.U): This variable conditionally defines HAS_SOCKET, which indicates that the BSD socket interface is supported. diff --git a/Porting/config.sh b/Porting/config.sh index 566028722c..3853ffbaf7 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : . -# Configuration time: Sat Mar 3 02:46:53 EET 2001 +# Configuration time: Tue Mar 27 07:55:38 EET DST 2001 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -62,7 +62,7 @@ ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_ ccversion='V5.6-082' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Sat Mar 3 02:46:53 EET 2001' +cf_time='Tue Mar 27 07:55:38 EET DST 2001' charsize='1' chgrp='' chmod='' @@ -331,6 +331,7 @@ d_shmget='define' d_sigaction='define' d_sigprocmask='define' d_sigsetjmp='define' +d_sockatmark='undef' d_socket='define' d_socklen_t='undef' d_sockpair='define' @@ -403,7 +404,7 @@ dlext='so' dlsrc='dl_dlopen.xs' doublesize='8' drand01='drand48()' -dynamic_ext='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Encode Fcntl File/Glob Filter/Util/Call IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread attrs re' +dynamic_ext='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call IO IPC/SysV MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread attrs re' eagain='EAGAIN' ebcdic='undef' echo='echo' @@ -412,7 +413,7 @@ emacs='' eunicefix=':' exe_ext='' expr='expr' -extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Encode Fcntl File/Glob Filter/Util/Call IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread attrs re Errno' +extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call IO IPC/SysV MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread attrs re Errno' fflushNULL='define' fflushall='undef' find='' @@ -503,7 +504,7 @@ i_sysparam='define' i_sysresrc='define' i_syssecrt='define' i_sysselct='define' -i_syssockio='' +i_syssockio='undef' i_sysstat='define' i_sysstatfs='undef' i_sysstatvfs='define' @@ -552,7 +553,7 @@ issymlink='test -h' ivdformat='"ld"' ivsize='8' ivtype='long' -known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Encode Fcntl File/Glob Filter/Util/Call GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread attrs re' +known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File IO IPC/SysV MIME/Base64 NDBM_File ODBM_File Opcode POSIX PerlIO/Scalar SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread attrs re' ksh='' ld='ld' lddlflags='-shared -expect_unresolved "*" -msym -std -s' diff --git a/Porting/config_H b/Porting/config_H index 879f7485cb..fb8bf3b96d 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : . - * Configuration time: Sat Mar 3 02:46:53 EET 2001 + * Configuration time: Tue Mar 27 07:55:38 EET DST 2001 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -815,7 +815,12 @@ * This symbol, if defined, indicates that <sys/ioctl.h> exists and should * be included. Otherwise, include <sgtty.h> or <termio.h>. */ +/* I_SYS_SOCKIO: + * This symbol, if defined, indicates the <sys/sockio.h> should be included + * to get socket ioctl options, like SIOCATMARK. + */ #define I_SYS_IOCTL /**/ +/*#define I_SYS_SOCKIO / **/ /* I_SYS_NDIR: * This symbol, if defined, indicates to the C program that it should @@ -3254,4 +3259,10 @@ */ #define HAS_SIGPROCMASK /**/ +/* HAS_SOCKATMARK: + * This symbol, if defined, indicates that the sockatmark routine is + * available to test whether a socket is at the out-of-band mark. + */ +/*#define HAS_SOCKATMARK / **/ + #endif diff --git a/config_h.SH b/config_h.SH index 8a71dfec01..eb95593341 100644 --- a/config_h.SH +++ b/config_h.SH @@ -835,7 +835,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol, if defined, indicates that <sys/ioctl.h> exists and should * be included. Otherwise, include <sgtty.h> or <termio.h>. */ +/* I_SYS_SOCKIO: + * This symbol, if defined, indicates the <sys/sockio.h> should be included + * to get socket ioctl options, like SIOCATMARK. + */ #$i_sysioctl I_SYS_IOCTL /**/ +#$i_syssockio I_SYS_SOCKIO /**/ /* I_SYS_NDIR: * This symbol, if defined, indicates to the C program that it should @@ -3274,5 +3279,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_sigprocmask HAS_SIGPROCMASK /**/ +/* HAS_SOCKATMARK: + * This symbol, if defined, indicates that the sockatmark routine is + * available to test whether a socket is at the out-of-band mark. + */ +#$d_sockatmark HAS_SOCKATMARK /**/ + #endif !GROK!THIS! diff --git a/configure.com b/configure.com index 3767f79b10..4523f7f9c3 100644 --- a/configure.com +++ b/configure.com @@ -5130,6 +5130,7 @@ $ WC "d_shmatprototype='undef'" $ WC "d_sigaction='" + d_sigaction + "'" $ WC "d_sigprocmask='" + d_sigprocmask + "'" $ WC "d_sigsetjmp='" + d_sigsetjmp + "'" +$ WC "d_sockatmark='undef'" $ WC "d_socket='" + d_socket + "'" $ WC "d_socklen_t='" + d_socklen_t + "'" $ WC "d_sockpair='undef'" @@ -5282,6 +5283,7 @@ $ WC "i_sysparam='undef'" $ WC "i_sysresrc='undef'" $ WC "i_syssecrt='" + i_syssecrt + "'" $ WC "i_sysselct='undef'" +$ WC "i_syssockio='undef'" $ WC "i_sysstat='define'" $ WC "i_sysstatfs='undef'" $ WC "i_sysstatvfs='undef'" diff --git a/epoc/config.sh b/epoc/config.sh index db84cf0668..2c4c03ed56 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -321,6 +321,7 @@ d_shmget='undef' d_sigaction='undef' d_sigprocmask='undef' d_sigsetjmp='undef' +d_sockatmark='undef' d_socket='define' d_sockpair='undef' d_socks5_init='undef' @@ -811,7 +811,12 @@ * This symbol, if defined, indicates that <sys/ioctl.h> exists and should * be included. Otherwise, include <sgtty.h> or <termio.h>. */ +/* I_SYS_SOCKIO: + * This symbol, if defined, indicates the <sys/sockio.h> should be included + * to get socket ioctl options, like SIOCATMARK. + */ /*#define I_SYS_IOCTL / **/ +/*#define I_SYS_SOCKIO / **/ /* I_SYS_NDIR: * This symbol, if defined, indicates to the C program that it should @@ -3250,4 +3255,10 @@ */ /*#define HAS_SIGPROCMASK / **/ +/* HAS_SOCKATMARK: + * This symbol, if defined, indicates that the sockatmark routine is + * available to test whether a socket is at the out-of-band mark. + */ +/*#define HAS_SOCKATMARK / **/ + #endif diff --git a/uconfig.sh b/uconfig.sh index bfcf4e0279..f2afe30694 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -262,6 +262,7 @@ d_shmget='undef' d_sigaction='undef' d_sigprocmask='undef' d_sigsetjmp='undef' +d_sockatmark='undef' d_socket='undef' d_socklen_t='undef' d_sockpair='undef' @@ -410,7 +411,7 @@ i_sysparam='undef' i_sysresrc='undef' i_syssecrt='undef' i_sysselct='undef' -i_syssockio='' +i_syssockio='undef' i_sysstat='define' i_sysstatfs='undef' i_sysstatvfs='undef' diff --git a/vos/config.alpha.def b/vos/config.alpha.def index f290643719..3128752a27 100644 --- a/vos/config.alpha.def +++ b/vos/config.alpha.def @@ -232,6 +232,7 @@ $d_shmatprototype='define' $d_sigaction='undef' $d_sigprocmask='undef' $d_sigsetjmp='undef' +$d_sockatmark='undef' $d_socket='define' $d_sockpair='undef' $d_socks5_init='undef' @@ -362,6 +363,7 @@ $i_sysparam='undef' $i_sysresrc='undef' $i_syssecrt='undef' $i_sysselct='define' +$i_syssockio='undef' $i_sysstat='define' $i_sysstatfs='undef' $i_sysstatvfs='undef' diff --git a/vos/config.alpha.h b/vos/config.alpha.h index 33889df8c0..a4d0f3dc84 100644 --- a/vos/config.alpha.h +++ b/vos/config.alpha.h @@ -3256,4 +3256,10 @@ */ /*#define NEED_VA_COPY / **/ +/* HAS_SOCKATMARK: + * This symbol, if defined, indicates that the sockatmark routine is + * available to test whether a socket is at the out-of-band mark. + */ +/*#define HAS_SOCKATMARK / **/ + #endif diff --git a/vos/config.ga.def b/vos/config.ga.def index 57efb6b691..7f0cbdbfcc 100644 --- a/vos/config.ga.def +++ b/vos/config.ga.def @@ -232,6 +232,7 @@ $d_shmatprototype='define' $d_sigaction='define' $d_sigprocmask='define' $d_sigsetjmp='define' +$d_sockatmark='undef' $d_socket='define' $d_sockpair='undef' $d_socks5_init='undef' @@ -362,6 +363,7 @@ $i_sysparam='undef' $i_sysresrc='undef' $i_syssecrt='undef' $i_sysselct='define' +$i_syssockio='undef' $i_sysstat='define' $i_sysstatfs='undef' $i_sysstatvfs='undef' diff --git a/vos/config.ga.h b/vos/config.ga.h index e7be756722..f54c4de5b5 100644 --- a/vos/config.ga.h +++ b/vos/config.ga.h @@ -3256,4 +3256,10 @@ */ /*#define NEED_VA_COPY / **/ +/* HAS_SOCKATMARK: + * This symbol, if defined, indicates that the sockatmark routine is + * available to test whether a socket is at the out-of-band mark. + */ +/*#define HAS_SOCKATMARK / **/ + #endif diff --git a/win32/config.bc b/win32/config.bc index bc7b1da981..f777579649 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -314,6 +314,7 @@ d_shmget='undef' d_sigaction='undef' d_sigprocmask='undef' d_sigsetjmp='undef' +d_sockatmark='undef' d_socket='define' d_socklen_t='undef' d_sockpair='undef' @@ -484,7 +485,7 @@ i_sysparam='undef' i_sysresrc='undef' i_syssecrt='undef' i_sysselct='undef' -i_syssockio='' +i_syssockio='undef' i_sysstatfs='undef' i_sysstatvfs='undef' i_sysstat='define' diff --git a/win32/config.gc b/win32/config.gc index 196b22c905..64ccb200e4 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -314,6 +314,7 @@ d_shmget='undef' d_sigaction='undef' d_sigprocmask='undef' d_sigsetjmp='undef' +d_sockatmark='undef' d_socket='define' d_socklen_t='undef' d_sockpair='undef' @@ -484,7 +485,7 @@ i_sysparam='undef' i_sysresrc='undef' i_syssecrt='undef' i_sysselct='undef' -i_syssockio='' +i_syssockio='undef' i_sysstatfs='undef' i_sysstatvfs='undef' i_sysstat='define' diff --git a/win32/config.vc b/win32/config.vc index 9cb3a77a87..b24351898c 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -314,6 +314,7 @@ d_shmget='undef' d_sigaction='undef' d_sigprocmask='undef' d_sigsetjmp='undef' +d_sockatmark='undef' d_socket='define' d_socklen_t='undef' d_sockpair='undef' @@ -484,7 +485,7 @@ i_sysparam='undef' i_sysresrc='undef' i_syssecrt='undef' i_sysselct='undef' -i_syssockio='' +i_syssockio='undef' i_sysstatfs='undef' i_sysstatvfs='undef' i_sysstat='define' |