This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
support POSIX::uname() via win32_uname()
[perl5.git] / win32 / config_H.vc
index a086d75..aab6935 100644 (file)
@@ -34,8 +34,8 @@
  *     This symbol is the filename expanded version of the BIN symbol, for
  *     programs that do not want to deal with that at run-time.
  */
-#define BIN "c:\\perl\\5.00554\\bin\\MSWin32-x86"      /**/
-#define BIN_EXP "c:\\perl\\5.00554\\bin\\MSWin32-x86"  /**/
+#define BIN "c:\\perl\\5.00556\\bin\\MSWin32-x86"      /**/
+#define BIN_EXP "c:\\perl\\5.00556\\bin\\MSWin32-x86"  /**/
 
 /* HAS_ALARM:
  *     This symbol, if defined, indicates that the alarm routine is
  */
 /*#define HAS_GETGROUPS                /**/
 
+/* HAS_GETHOSTNAME:
+ *     This symbol, if defined, indicates that the C program may use the
+ *     gethostname() routine to derive the host name.  See also HAS_UNAME
+ *     and PHOSTNAME.
+ */
 /* 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
  *     and PHOSTNAME.
  */
-/*#define HAS_UNAME            /**/
+/* PHOSTNAME:
+ *     This symbol, if defined, indicates that the C program may use the
+ *     contents of PHOSTNAME as a command to feed to the popen() routine
+ *     to derive the host name.  See also HAS_GETHOSTNAME and HAS_UNAME.
+ *     Note that the command uses a fully qualified path, so that it is safe
+ *     even if used by a process with super-user privileges.
+ */
+#define HAS_GETHOSTNAME        /**/
+#define HAS_UNAME              /**/
+/*#define PHOSTNAME "" / * How to get the host name */
 
 /* HAS_GETLOGIN:
  *     This symbol, if defined, indicates that the getlogin routine is
  */
 #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.
  */
 /*#define VOID_CLOSEDIR                /**/
 
+/* HAS_FD_SET:
+ *     This symbol, when defined, indicates presence of the fd_set typedef
+ *     in <sys/types.h>
+ */
+#define HAS_FD_SET     /**/
+
 /* Gconvert:
  *     This preprocessor macro is defined to convert a floating point
  *     number to a string without a trailing decimal point.  This
  */
 /*#define HAS_SIGACTION        /**/
 
+/* HAS_SIGSETJMP:
+ *     This variable indicates to the C program that the sigsetjmp()
+ *     routine is available to save the calling process's registers
+ *     and stack environment for later use by siglongjmp(), and
+ *     to optionally save the process's signal mask.  See
+ *     Sigjmp_buf, Sigsetjmp, and Siglongjmp.
+ */
 /* Sigjmp_buf:
  *     This is the buffer type to be used with Sigsetjmp and Siglongjmp.
  */
  *     output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  *     to specify standard input, otherwise the value is "".
  */
+/* CPPRUN:
+ *     This symbol contains the string which will invoke a C preprocessor on
+ *     the standard input and produce to standard output. It needs to end
+ *     with CPPLAST, after all other preprocessor flags have been specified.
+ *     The main difference with CPPSTDIN is that this program will never be a
+ *     pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
+ *     available directly to the user. Note that it may well be different from
+ *     the preprocessor used to compile the C program.
+ */
 #define CPPSTDIN "cl -nologo -E"
 #define CPPMINUS ""
+#define CPPRUN "cl -nologo -E"
 
 /* HAS_ACCESS:
  *     This manifest constant lets the C program know that the access()
  */
 #define HAS_ACCESS             /**/
 
+/* HAS_CSH:
+ *     This symbol, if defined, indicates that the C-shell exists.
+ */
 /* CSH:
  *     This symbol, if defined, contains the full pathname of csh.
  */
 #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).
  *     This symbol, if defined, indicates that the BSD socketpair() call is
  *     supported.
  */
-#define HAS_SOCKET             /**/
-/*#define HAS_SOCKETPAIR       /**/
+/* HAS_MSG_CTRUNC:
+ *     This symbol, if defined, indicates that the MSG_CTRUNC is supported.
+ *     Checking just with #ifdef might not be enough because this symbol
+ *     has been known to be an enum.
+ */
+/* HAS_MSG_DONTROUTE:
+ *     This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
+ *     Checking just with #ifdef might not be enough because this symbol
+ *     has been known to be an enum.
+ */
+/* HAS_MSG_OOB:
+ *     This symbol, if defined, indicates that the MSG_OOB is supported.
+ *     Checking just with #ifdef might not be enough because this symbol
+ *     has been known to be an enum.
+ */
+/* HAS_MSG_PEEK:
+ *     This symbol, if defined, indicates that the MSG_PEEK is supported.
+ *     Checking just with #ifdef might not be enough because this symbol
+ *     has been known to be an enum.
+ */
+/* HAS_MSG_PROXY:
+ *     This symbol, if defined, indicates that the MSG_PROXY is supported.
+ *     Checking just with #ifdef might not be enough because this symbol
+ *     has been known to be an enum.
+ */
+/* HAS_SCM_RIGHTS:
+ *     This symbol, if defined, indicates that the SCM_RIGHTS is supported.
+ *     Checking just with #ifdef might not be enough because this symbol
+ *     has been known to be an enum.
+ */
+/* HAS_SENDMSG:
+ *     This symbol, if defined, indicates that the sendmsg is supported
+ *     to send messages between sockets.  You will also need struct
+ *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
+ */
+/* HAS_RECVMSG:
+ *     This symbol, if defined, indicates that the recvmsg is supported
+ *     to send messages between sockets.  You will also need struct
+ *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
+ */
+/* HAS_STRUCT_MSGHDR:
+ *     This symbol, if defined, indicates that the struct msghdr
+ *     (BSD 4.3 or 4.4) is supported.  You will also need struct
+ *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
+ */
+/* HAS_STRUCT_CMSGHDR:
+ *     This symbol, if defined, indicates that the struct cmsghdr
+ *     (BSD 4.4) is supported.  You will also need struct
+ *     iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
+ */
+#define        HAS_SOCKET              /**/
+/*#define      HAS_SOCKETPAIR  /**/
+/*#define      HAS_MSG_CTRUNC  /**/
+/*#define      HAS_MSG_DONTROUTE       /**/
+/*#define      HAS_MSG_OOB     /**/
+/*#define      HAS_MSG_PEEK    /**/
+/*#define      HAS_MSG_PROXY   /**/
+/*#define      HAS_SCM_RIGHTS  /**/
+/*#define      HAS_SENDMSG     /**/
+/*#define      HAS_RECVMSG     /**/
+/*#define      HAS_STRUCT_MSGHDR       /**/
+/*#define      HAS_STRUCT_CMSGHDR      /**/
 
 /* USE_STAT_BLOCKS:
  *     This symbol is defined if this system has a stat structure declaring
 /*#define PWGECOS      /**/
 /*#define PWPASSWD     /**/
 
+/* I_SYSUIO:
+ *     This symbol, if defined, indicates that <sys/uio.h> exists and
+ *     should be included.
+ */
+/*#define      I_SYSUIO                /**/
+
 /* Free_t:
  *     This variable contains the return type of free().  It is usually
  * void, but occasionally int.
  *     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 "c:\\perl\\5.00554\\lib\\MSWin32-x86"          /**/
+#define ARCHLIB "c:\\perl\\5.00556\\lib\\MSWin32-x86"          /**/
 /*#define ARCHLIB_EXP ""       /**/
 
 /* DLSYM_NEEDS_UNDERSCORE:
  */
 /*#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         /**/
+
+/* MULTIARCH:
+ *     This symbol, if defined, indicates that we have a multiarchitecture
+ *     build.
+ */
+/*#define MULTIARCH            /**/
+
+/* CROSSCOMPILE:
+ *     This symbol, if defined, indicates that we have a cross-compile
+ *     build.
+ */
+/*#define MULTIARCH            /**/
+
+/* 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            /**/
+
 /* USE_SFIO:
  *     This symbol, if defined, indicates that sfio should
  *     be used.
  */
 /*#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.
+ */
+/*#define HAS_WRITEV           /**/
+
 /* HAS_DBMINIT64:
  *     This symbol, if defined, indicates that the dbminit64 routine is
  *     available to open dbm files larger than 2 gigabytes.
 /*#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.
  *     This symbol contains the ~name expanded version of PRIVLIB, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define PRIVLIB "c:\\perl\\5.00554\\lib"               /**/
-#define PRIVLIB_EXP (win32_get_privlib("5.00554"))     /**/
+#define PRIVLIB "c:\\perl\\5.00556\\lib"               /**/
+#define PRIVLIB_EXP (win32_get_privlib("5.00556"))     /**/
 
 /* SELECT_MIN_BITS:
  *     This symbol holds the minimum number of bits operated by select.
  *     This symbol contains the ~name expanded version of SITEARCH, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define SITEARCH "c:\\perl\\site\\5.00554\\lib\\MSWin32-x86"           /**/
+#define SITEARCH "c:\\perl\\site\\5.00556\\lib\\MSWin32-x86"           /**/
 /*#define SITEARCH_EXP ""      /**/
 
 /* SITELIB:
  *     This symbol contains the ~name expanded version of SITELIB, to be used
  *     in programs that are not prepared to deal with ~ expansion at run-time.
  */
-#define SITELIB "c:\\perl\\site\\5.00554\\lib"         /**/
-#define SITELIB_EXP (win32_get_sitelib("5.00554"))     /**/
+#define SITELIB "c:\\perl\\site\\5.00556\\lib"         /**/
+#define SITELIB_EXP (win32_get_sitelib("5.00556"))     /**/
 
 /* STARTPERL:
  *     This variable contains the string to put in front of a perl
  */
 /*#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
  */
 #define ARCHNAME "MSWin32-x86"         /**/
 
+/* OLD_PTHREAD_CREATE_JOINABLE:
+ *     This symbol, if defined, indicates how to create pthread
+ *     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, known values are PTHREAD_CREATE_UNDETACHED
+ *     and __UNDETACHED.
+ */
+/*#define OLD_PTHREAD_CREATE_JOINABLE  /**/
+
 /* HAS_PTHREAD_YIELD:
  *     This symbol, if defined, indicates that the pthread_yield 
  *     routine is available to yield the execution of the current
  */
 /*#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.