summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-02-07 23:49:46 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-07 23:49:46 +0000
commitff49bff8f179cd4f0cb16d6811e862f772f03ee0 (patch)
treeb9713b1bcc3b2e3fdf45f88f839de3ff667cadea /Porting
parentbdbd2f2228a5f903eac5af514b0686141570617f (diff)
downloadperl-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 'Porting')
-rw-r--r--Porting/config.sh21
-rw-r--r--Porting/config_H110
2 files changed, 121 insertions, 10 deletions
diff --git a/Porting/config.sh b/Porting/config.sh
index 0c461713e9..d6a19ed3bc 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -8,7 +8,7 @@
# Package name : perl5
# Source directory : .
-# Configuration time: Thu Dec 3 15:05:16 EET 1998
+# Configuration time: Mon Feb 8 01:11:15 EET 1999
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
@@ -54,7 +54,7 @@ ccdlflags=' '
ccflags='-pthread -std -D__LANGUAGE_C__'
cf_by='jhi'
cf_email='yourname@yourhost.yourplace.com'
-cf_time='Thu Dec 3 15:05:16 EET 1998'
+cf_time='Mon Feb 8 01:11:15 EET 1999'
chgrp=''
chmod=''
chown=''
@@ -142,6 +142,8 @@ d_fseeko='undef'
d_fsetpos64='undef'
d_fsetpos='define'
d_fstat64='undef'
+d_fstatfs='define'
+d_fstatvfs='define'
d_ftell64='undef'
d_ftello64='undef'
d_ftello='undef'
@@ -194,6 +196,7 @@ d_longlong='define'
d_lseek64='undef'
d_lstat64='undef'
d_lstat='define'
+d_madvise='define'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
@@ -204,6 +207,8 @@ d_memset='define'
d_mkdir='define'
d_mkfifo='define'
d_mktime='define'
+d_mmap='define'
+d_mprotect='define'
d_msg='define'
d_msg_ctrunc='define'
d_msg_dontroute='define'
@@ -215,6 +220,8 @@ d_msgget='define'
d_msghdr_s='define'
d_msgrcv='define'
d_msgsnd='define'
+d_msync='define'
+d_munmap='define'
d_mymalloc='undef'
d_nextkey64='undef'
d_nice='define'
@@ -299,6 +306,9 @@ d_socket='define'
d_sockpair='define'
d_stat64='undef'
d_statblks='define'
+d_statfs='define'
+d_statfsflags='define'
+d_statvfs='define'
d_stdio_cnt_lval='define'
d_stdio_ptr_lval='define'
d_stdiobase='define'
@@ -324,6 +334,7 @@ d_tcgetpgrp='define'
d_tcsetpgrp='define'
d_telldir64='undef'
d_telldir='define'
+d_telldirproto='define'
d_time='define'
d_times='define'
d_tmpfile64='undef'
@@ -401,6 +412,7 @@ i_machcthr='undef'
i_malloc='define'
i_math='define'
i_memory='undef'
+i_mntent='undef'
i_ndbm='define'
i_netdb='define'
i_neterrno='undef'
@@ -420,6 +432,8 @@ i_sysfile='define'
i_sysfilio='undef'
i_sysin='undef'
i_sysioctl='define'
+i_sysmman='define'
+i_sysmount='define'
i_sysndir='undef'
i_sysparam='define'
i_sysresrc='define'
@@ -427,6 +441,7 @@ i_syssecrt='define'
i_sysselct='define'
i_syssockio=''
i_sysstat='define'
+i_sysstatvfs='define'
i_systime='define'
i_systimek='undef'
i_systimes='define'
@@ -454,6 +469,7 @@ installprivlib='/opt/perl/lib/5.00554'
installscript='/opt/perl/bin'
installsitearch='/opt/perl/lib/site_perl/5.00554/alpha-dec_osf-thread'
installsitelib='/opt/perl/lib/site_perl/5.00554'
+installusrbinperl='define'
intsize='4'
known_extensions='B DB_File Data/Dumper Devel/Peek Fcntl GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs re'
ksh=''
@@ -500,6 +516,7 @@ medium=''
mips=''
mips_type=''
mkdir='mkdir'
+mmaptype='void *'
models='none'
modetype='mode_t'
more='more'
diff --git a/Porting/config_H b/Porting/config_H
index c343f44d84..89e106d06f 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Thu Dec 3 15:05:16 EET 1998
+ * Configuration time: Mon Feb 8 01:11:15 EET 1999
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -394,6 +394,18 @@
*/
#define HAS_MKTIME /**/
+/* HAS_MSYNC:
+ * This symbol, if defined, indicates that the msync system call is
+ * available to synchronize a mapped file.
+ */
+#define HAS_MSYNC /**/
+
+/* HAS_MUNMAP:
+ * This symbol, if defined, indicates that the munmap system call is
+ * available to unmap a region, usually mapped by mmap().
+ */
+#define HAS_MUNMAP /**/
+
/* HAS_NICE:
* This symbol, if defined, indicates that the nice routine is
* available.
@@ -1641,6 +1653,18 @@
#define LONGLONGSIZE 8 /**/
#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'.
+ */
+#define HAS_MMAP /**/
+#define Mmap_t void * /**/
+
/* HAS_MSG:
* This symbol, if defined, indicates that the entire msg*(2) library is
* supported (IPC mechanism based on message queues).
@@ -2024,6 +2048,18 @@
*/
/*#define HAS_FTELLO / **/
+/* HAS_MADVISE:
+ * This symbol, if defined, indicates that the madvise system call is
+ * available to map a file into memory.
+ */
+#define 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.
+ */
+#define 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>
@@ -2037,6 +2073,34 @@
*/
/*#define USE_SFIO / **/
+/* HAS_FSTATFS:
+ * This symbol, if defined, indicates that the fstatfs routine is
+ * available to do stat filesystems of file descriptors.
+ */
+/* HAS_STRUCT_STATFS_FLAGS:
+ * This symbol, if defined, indicates that the struct statfs
+ * does have the f_flags member containing the mount flags of
+ * the filesystem holding the file.
+ * This kind of struct statfs is coming from sys/mount.h (BSD)
+ * and not from sys/statfs.h (SYSV).
+ */
+#define HAS_FSTATFS /**/
+#define HAS_STRUCT_STATFS_FLAGS /**/
+
+/* HAS_FSTATVFS:
+ * This symbol, if defined, indicates that the fstatvfs routine is
+ * available to do stat filesystems of file descriptors.
+ */
+#define HAS_FSTATVFS /**/
+
+/* HAS_TELLDIR_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the telldir() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern long telldir _((DIR*));
+ */
+#define HAS_TELLDIR_PROTO /**/
+
/* HAS_WRITEV:
* This symbol, if defined, indicates that the writev routine is
* available to do scatter writes.
@@ -2110,12 +2174,42 @@
/*#define I_INTTYPES / **/
/*#define HAS_INT64_T / **/
+/* I_MNTENT:
+ * This symbol, if defined, indicates that <mntent.h> exists and
+ * should be included.
+ */
+/*#define I_MNTENT / **/
+
/* I_POLL:
* This symbol, if defined, indicates that <poll.h> exists and
* should be included.
*/
#define I_POLL /**/
+/* I_SYS_MMAN:
+ * This symbol, if defined, indicates that <sys/mman.h> exists and
+ * should be included.
+ */
+#define I_SYS_MMAN /**/
+
+/* I_SYS_MOUNT:
+ * This symbol, if defined, indicates that <sys/mount.h> exists and
+ * should be included.
+ */
+#define I_SYS_MOUNT /**/
+
+/* I_SYS_STATVFS:
+ * This symbol, if defined, indicates that <sys/statvfs.h> exists and
+ * should be included.
+ */
+#define I_SYS_STATVFS /**/
+
+/* INSTALL_USR_BIN_PERL:
+ * This symbol, if defined, indicates that Perl is to be installed
+ * also as /usr/bin/perl.
+ */
+#define INSTALL_USR_BIN_PERL /**/
+
/* HAS_FSTAT64:
* This symbol, if defined, indicates that the fstat64 routine is
* available to stat files (fds) larger than 2 gigabytes.
@@ -2294,6 +2388,12 @@
*/
#define USE_64_BITS /**/
+/* MULTIPLICITY:
+ * This symbol, if defined, indicates that Perl should
+ * be built to use multiplicity.
+ */
+/*#define MULTIPLICITY / **/
+
/* USE_PERLIO:
* This symbol, if defined, indicates that the PerlIO abstraction should
* be used throughout. If not defined, stdio should be
@@ -2383,7 +2483,7 @@
* in joinable (aka undetached) state. NOTE: not defined
* if pthread.h already has defined PTHREAD_CREATE_JOINABLE
* (the new version of the constant).
- * If defined, possible values are PTHREAD_CREATE_UNDETACHED
+ * If defined, known values are PTHREAD_CREATE_UNDETACHED
* and __UNDETACHED.
*/
/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
@@ -2413,12 +2513,6 @@
*/
/*#define I_MACH_CTHREADS / **/
-/* MULTIPLICITY:
- * This symbol, if defined, indicates that Perl should
- * be built to use multiplicity.
- */
-/*#define MULTIPLICITY / **/
-
/* USE_THREADS:
* This symbol, if defined, indicates that Perl should
* be built to use threads.