summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-05 17:47:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-05 17:47:01 +0000
commit4e0554ec1a41c5b5d840b8e29e149a0efe77a52c (patch)
tree2e4824f24217a8add58d57ace6c4f39ded1e4153 /Porting
parent2ece6c116c30837778f908504e30526eeb0ade40 (diff)
downloadperl-4e0554ec1a41c5b5d840b8e29e149a0efe77a52c.tar.gz
Introduce d_u32align / U32_REQUIRES_ALIGNMENT, needed for
ext/Digest/MD5/Makefile.PL and t/lib/md5-align.t. Introduce probes for struct msghdr, struct cmsghdr, sendmsg, recvmsg, readv, writev, setitimer, getitimer, ualarm, usleep, for possible later extension work. p4raw-id: //depot/perl@9560
Diffstat (limited to 'Porting')
-rw-r--r--Porting/Glossary44
-rw-r--r--Porting/config.sh21
-rw-r--r--Porting/config_H69
3 files changed, 128 insertions, 6 deletions
diff --git a/Porting/Glossary b/Porting/Glossary
index 61a52c5489..d621d2fea1 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -437,6 +437,10 @@ d_closedir (d_closedir.U):
This variable conditionally defines HAS_CLOSEDIR if closedir() is
available.
+d_cmsghdr_s (d_cmsghdr_s.U):
+ This variable conditionally defines the HAS_STRUCT_CMSGHDR symbol,
+ which indicates that the struct cmsghdr is supported.
+
d_const (d_const.U):
This variable conditionally defines the HASCONST symbol, which
indicates to the C program that this C compiler knows about the
@@ -689,6 +693,10 @@ d_gethostprotos (d_gethostprotos.U):
prototypes for the various gethost*() functions.
See also netdbtype.U for probing for various netdb types.
+d_getitimer (d_getitimer.U):
+ This variable conditionally defines the HAS_GETITIMER symbol, which
+ indicates to the C program that the getitimer() routine is available.
+
d_getlogin (d_getlogin.U):
This variable conditionally defines the HAS_GETLOGIN symbol, which
indicates to the C program that the getlogin() routine is available
@@ -1024,6 +1032,10 @@ d_msgget (d_msgget.U):
This variable conditionally defines the HAS_MSGGET symbol, which
indicates to the C program that the msgget() routine is available.
+d_msghdr_s (d_msghdr_s.U):
+ This variable conditionally defines the HAS_STRUCT_MSGHDR symbol,
+ which indicates that the struct msghdr is supported.
+
d_msgrcv (d_msgrcv.U):
This variable conditionally defines the HAS_MSGRCV symbol, which
indicates to the C program that the msgrcv() routine is available.
@@ -1226,6 +1238,14 @@ d_readlink (d_readlink.U):
indicates to the C program that the readlink() routine is available
to read the value of a symbolic link.
+d_readv (d_readv.U):
+ This variable conditionally defines the HAS_READV symbol, which
+ indicates to the C program that the readv() routine is available.
+
+d_recvmsg (d_recvmsg.U):
+ This variable conditionally defines the HAS_RECVMSG symbol, which
+ indicates to the C program that the recvmsg() routine is available.
+
d_rename (d_rename.U):
This variable conditionally defines the HAS_RENAME symbol, which
indicates to the C program that the rename() routine is available
@@ -1305,6 +1325,10 @@ d_semop (d_semop.U):
This variable conditionally defines the HAS_SEMOP symbol, which
indicates to the C program that the semop() routine is available.
+d_sendmsg (d_sendmsg.U):
+ This variable conditionally defines the HAS_SENDMSG symbol, which
+ indicates to the C program that the sendmsg() routine is available.
+
d_setegid (d_setegid.U):
This variable conditionally defines the HAS_SETEGID symbol, which
indicates to the C program that the setegid() routine is available
@@ -1329,6 +1353,10 @@ d_sethent (d_sethent.U):
This variable conditionally defines HAS_SETHOSTENT if sethostent() is
available.
+d_setitimer (d_setitimer.U):
+ This variable conditionally defines the HAS_SETITIMER symbol, which
+ indicates to the C program that the setitimer() routine 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
@@ -1663,6 +1691,14 @@ d_tzname (d_tzname.U):
This variable conditionally defines HAS_TZNAME if tzname[] is
available to access timezone names.
+d_u32align (d_u32align.U):
+ This variable tells whether you must access character data
+ through U32-aligned pointers.
+
+d_ualarm (d_ualarm.U):
+ This variable conditionally defines the HAS_UALARM symbol, which
+ indicates to the C program that the ualarm() routine is available.
+
d_umask (d_umask.U):
This variable conditionally defines the HAS_UMASK symbol, which
indicates to the C program that the umask() routine is available.
@@ -1677,6 +1713,10 @@ d_union_semun (d_union_semun.U):
This variable conditionally defines HAS_UNION_SEMUN if the
union semun is defined by including <sys/sem.h>.
+d_usleep (d_usleep.U):
+ This variable conditionally defines HAS_USLEEP if usleep() is
+ available to do high granularity sleeps.
+
d_ustat (d_ustat.U):
This variable conditionally defines HAS_USTAT if ustat() is
available to query file system statistics by dev_t.
@@ -1737,6 +1777,10 @@ d_wctomb (d_wctomb.U):
indicates to the C program that the wctomb() routine is available
to convert a wide character to a multibyte.
+d_writev (d_writev.U):
+ This variable conditionally defines the HAS_WRITEV symbol, which
+ indicates to the C program that the writev() routine is available.
+
d_xenix (Guess.U):
This variable conditionally defines the symbol XENIX, which alerts
the C program that it runs under Xenix.
diff --git a/Porting/config.sh b/Porting/config.sh
index 3853ffbaf7..1e09d64ee5 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -8,7 +8,7 @@
# Package name : perl5
# Source directory : .
-# Configuration time: Tue Mar 27 07:55:38 EET DST 2001
+# Configuration time: Thu Apr 5 20:36:09 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='Tue Mar 27 07:55:38 EET DST 2001'
+cf_time='Thu Apr 5 20:36:09 EET DST 2001'
charsize='1'
chgrp=''
chmod=''
@@ -121,6 +121,7 @@ d_chown='define'
d_chroot='define'
d_chsize='undef'
d_closedir='define'
+d_cmsghdr_s='define'
d_const='define'
d_crypt='define'
d_csh='define'
@@ -175,6 +176,7 @@ d_gethbyname='define'
d_gethent='define'
d_gethname='define'
d_gethostprotos='define'
+d_getitimer='define'
d_getlogin='define'
d_getmnt='undef'
d_getmntent='undef'
@@ -247,6 +249,7 @@ d_msg_peek='define'
d_msg_proxy='undef'
d_msgctl='define'
d_msgget='define'
+d_msghdr_s='define'
d_msgrcv='define'
d_msgsnd='define'
d_msync='define'
@@ -280,6 +283,8 @@ d_qgcvt='undef'
d_quad='define'
d_readdir='define'
d_readlink='define'
+d_readv='define'
+d_recvmsg='define'
d_rename='define'
d_rewinddir='define'
d_rmdir='define'
@@ -297,11 +302,13 @@ d_semctl_semid_ds='define'
d_semctl_semun='define'
d_semget='define'
d_semop='define'
+d_sendmsg='define'
d_setegid='define'
d_seteuid='define'
d_setgrent='define'
d_setgrps='define'
d_sethent='define'
+d_setitimer='define'
d_setlinebuf='define'
d_setlocale='define'
d_setnent='define'
@@ -377,9 +384,12 @@ d_time='define'
d_times='define'
d_truncate='define'
d_tzname='define'
+d_u32align='define'
+d_ualarm='define'
d_umask='define'
d_uname='define'
d_union_semun='undef'
+d_usleep='define'
d_ustat='define'
d_vendorarch='undef'
d_vendorbin='undef'
@@ -394,6 +404,7 @@ d_wait4='define'
d_waitpid='define'
d_wcstombs='define'
d_wctomb='define'
+d_writev='define'
d_xenix='undef'
date='date'
db_hashtype='u_int32_t'
@@ -404,7 +415,7 @@ dlext='so'
dlsrc='dl_dlopen.xs'
doublesize='8'
drand01='drand48()'
-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'
+dynamic_ext='B ByteLoader Cwd 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 PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread XS/Typemap attrs re'
eagain='EAGAIN'
ebcdic='undef'
echo='echo'
@@ -413,7 +424,7 @@ emacs=''
eunicefix=':'
exe_ext=''
expr='expr'
-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'
+extensions='B ByteLoader Cwd 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 PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread XS/Typemap attrs re Errno'
fflushNULL='define'
fflushall='undef'
find=''
@@ -553,7 +564,7 @@ issymlink='test -h'
ivdformat='"ld"'
ivsize='8'
ivtype='long'
-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'
+known_extensions='B ByteLoader Cwd 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 PerlIO/Via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread XS/Typemap attrs re'
ksh=''
ld='ld'
lddlflags='-shared -expect_unresolved "*" -msym -std -s'
diff --git a/Porting/config_H b/Porting/config_H
index fb8bf3b96d..5c1db5099d 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Tue Mar 27 07:55:38 EET DST 2001
+ * Configuration time: Thu Apr 5 20:36:09 EET DST 2001
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -645,6 +645,12 @@
*/
#define HAS_UMASK /**/
+/* HAS_USLEEP:
+ * This symbol, if defined, indicates that the usleep routine is
+ * available to let the process sleep on a sub-second accuracy.
+ */
+#define HAS_USLEEP /**/
+
/* HASVOLATILE:
* This symbol, if defined, indicates that this C compiler knows about
* the volatile declaration.
@@ -1241,6 +1247,12 @@
*/
/*#define VOID_CLOSEDIR / **/
+/* HAS_STRUCT_CMSGHDR:
+ * This symbol, if defined, indicates that the struct cmsghdr
+ * is supported.
+ */
+#define HAS_STRUCT_CMSGHDR /**/
+
/* HAS_CSH:
* This symbol, if defined, indicates that the C-shell exists.
*/
@@ -1462,6 +1474,12 @@
*/
#define HAS_GETHOST_PROTOS /**/
+/* HAS_GETITIMER:
+ * This symbol, if defined, indicates that the getitimer routine is
+ * available to return interval timers.
+ */
+#define HAS_GETITIMER /**/
+
/* HAS_GETMNT:
* This symbol, if defined, indicates that the getmnt routine is
* available to get filesystem mount info by filename.
@@ -1770,6 +1788,12 @@
*/
#define HAS_MSG /**/
+/* HAS_STRUCT_MSGHDR:
+ * This symbol, if defined, indicates that the struct msghdr
+ * is supported.
+ */
+#define HAS_STRUCT_MSGHDR /**/
+
/* HAS_OFF64_T:
* This symbol will be defined if the C compiler supports off64_t.
*/
@@ -1810,6 +1834,19 @@
#define SCHED_YIELD sched_yield() /**/
#define HAS_SCHED_YIELD /**/
+/* 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_RECVMSG:
+ * This symbol, if defined, indicates that the recvmsg routine is
+ * available to send structured socket messages.
+ */
+#define HAS_RECVMSG /**/
+
/* HAS_SAFE_BCOPY:
* This symbol, if defined, indicates that the bcopy routine is available
* to copy potentially overlapping memory blocks. Otherwise you should
@@ -1848,6 +1885,12 @@
*/
#define HAS_SEM /**/
+/* HAS_SENDMSG:
+ * This symbol, if defined, indicates that the sendmsg routine is
+ * available to send structured socket messages.
+ */
+#define HAS_SENDMSG /**/
+
/* HAS_SETGRENT:
* This symbol, if defined, indicates that the setgrent routine is
* available for initializing sequential access of the group database.
@@ -1867,6 +1910,12 @@
*/
#define HAS_SETHOSTENT /**/
+/* HAS_SETITIMER:
+ * This symbol, if defined, indicates that the setitimer routine is
+ * available to set interval timers.
+ */
+#define HAS_SETITIMER /**/
+
/* HAS_SETNETENT:
* This symbol, if defined, indicates that the setnetent() routine is
* available.
@@ -2202,6 +2251,12 @@
*/
#define HAS_TIMES /**/
+/* HAS_UALARM:
+ * This symbol, if defined, indicates that the ualarm routine is
+ * available to do alarms with microsecond granularity.
+ */
+#define HAS_UALARM /**/
+
/* HAS_UNION_SEMUN:
* This symbol, if defined, indicates that the union semun is
* defined by including <sys/sem.h>. If not, the user code
@@ -2257,6 +2312,12 @@
#define HAS_VPRINTF /**/
/*#define USE_CHAR_VSPRINTF / **/
+/* HAS_WRITEV:
+ * This symbol, if defined, indicates that the writev routine is
+ * available to do scatter writes.
+ */
+#define HAS_WRITEV /**/
+
/* USE_DYNAMIC_LOADING:
* This symbol, if defined, indicates that dynamic loading of
* some sort is available.
@@ -3265,4 +3326,10 @@
*/
/*#define HAS_SOCKATMARK / **/
+/* U32_ALIGNMENT_REQUIRED:
+ * This symbol, if defined, indicates that you must access
+ * character data through U32-aligned pointers.
+ */
+#define U32_ALIGNMENT_REQUIRED /**/
+
#endif