diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-07 23:49:46 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-07 23:49:46 +0000 |
commit | ff49bff8f179cd4f0cb16d6811e862f772f03ee0 (patch) | |
tree | b9713b1bcc3b2e3fdf45f88f839de3ff667cadea /config_h.SH | |
parent | bdbd2f2228a5f903eac5af514b0686141570617f (diff) | |
download | perl-ff49bff8f179cd4f0cb16d6811e862f772f03ee0.tar.gz |
Configure update.
Probe for mmap() et alia.
The *cc*symbols patch (just Configure, no h2ph).
p4raw-id: //depot/cfgperl@2829
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 2a14102b79..7047dfaef3 100644 --- a/config_h.SH +++ b/config_h.SH @@ -408,6 +408,18 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_mktime HAS_MKTIME /**/ +/* HAS_MSYNC: + * This symbol, if defined, indicates that the msync system call is + * available to synchronize a mapped file. + */ +#$d_msync HAS_MSYNC /**/ + +/* HAS_MUNMAP: + * This symbol, if defined, indicates that the munmap system call is + * available to unmap a region, usually mapped by mmap(). + */ +#$d_munmap HAS_MUNMAP /**/ + /* HAS_NICE: * This symbol, if defined, indicates that the nice routine is * available. @@ -1655,6 +1667,18 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- #define LONGLONGSIZE $longlongsize /**/ #endif +/* 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'. + */ +#$d_mmap HAS_MMAP /**/ +#define Mmap_t $mmaptype /**/ + /* HAS_MSG: * This symbol, if defined, indicates that the entire msg*(2) library is * supported (IPC mechanism based on message queues). @@ -2038,6 +2062,18 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_ftello HAS_FTELLO /**/ +/* HAS_MADVISE: + * This symbol, if defined, indicates that the madvise system call is + * available to map a file into memory. + */ +#$d_madvise 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. + */ +#$d_mprotect HAS_MPROTECT /**/ + /* HAS_READV: * This symbol, if defined, indicates that the readv routine is * available to do gather reads. You will also need <sys/uio.h> @@ -2164,6 +2200,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$i_poll I_POLL /**/ +/* I_SYS_MMAN: + * This symbol, if defined, indicates that <sys/mman.h> exists and + * should be included. + */ +#$i_sysmman I_SYS_MMAN /**/ + /* I_SYS_MOUNT: * This symbol, if defined, indicates that <sys/mount.h> exists and * should be included. |