more Compiler tweaks for useithreads
[p5sagit/p5-mst-13.2.git] / config_h.SH
index 9529129..4d679f2 100644 (file)
@@ -1090,8 +1090,8 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
 
 /* MEM_ALIGNBYTES:
  *     This symbol contains the number of bytes required to align a
- *     double. Usual values are 2, 4 and 8. The default is eight,
- *     for safety.
+ *     double, or a long double when applicable. Usual values are 2,
+ *     4 and 8. The default is eight, for safety.
  */
 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
 #  define MEM_ALIGNBYTES 8
@@ -1620,7 +1620,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  *     Usually the <inttypes.h> needs to be included, but sometimes
  *     <sys/types.h> is enough.
  */
-#$d_int64t     HAS_INT64_T               /**/
+#$d_int64_t     HAS_INT64_T               /**/
 
 /* HAS_ISASCII:
  *     This manifest constant lets the C program know that isascii 
@@ -1696,11 +1696,16 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  */
 #$d_mkstemps HAS_MKSTEMPS              /**/
 
+/* 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_MPROTECT:
@@ -1931,6 +1936,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
 #$d_msg_proxy  HAS_MSG_PROXY   /**/
 #$d_scm_rights HAS_SCM_RIGHTS  /**/
 
+/* HAS_SOCKLEN_T:
+ *     This symbol will defined if the C compiler supports socklen_t.
+ *     Usually the <sys/socket.h> needs to be included.
+ */
+#$d_socklen_t     HAS_SOCKLEN_T               /**/
+
 /* HAS_SQRTL:
  *     This symbol, if defined, indicates that the sqrtl routine is
  *     available to do long double square roots.
@@ -2354,6 +2365,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  */
 #$i_syslog     I_SYSLOG                /**/
 
+/* I_SYSMODE:
+ *     This symbol, if defined, indicates that <sys/mode.h> exists and
+ *     should be included.
+ */
+#$i_sysmode    I_SYSMODE               /**/
+
 /* I_SYS_MOUNT:
  *     This symbol, if defined, indicates that <sys/mount.h> exists and
  *     should be included.
@@ -2377,6 +2394,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  */
 #$i_sysuio     I_SYSUIO                /**/
 
+/* I_SYSUTSNAME:
+ *     This symbol, if defined, indicates that <sys/utsname.h> exists and
+ *     should be included.
+ */
+#$i_sysutsname I_SYSUTSNAME            /**/
+
 /* I_SYS_VFS:
  *     This symbol, if defined, indicates that <sys/vfs.h> exists and
  *     should be included.
@@ -2975,17 +2998,5 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
 #define PERL_XS_APIVERSION "$xs_apiversion"
 #define PERL_PM_APIVERSION "$pm_apiversion"
 
-/* I_SYSMODE:
- *     This symbol, if defined, indicates that <sys/mode.h> exists and
- *     should be included.
- */
-#$i_sysmode    I_SYSMODE               /**/
-
-/* I_SYS_UTSNAME:
- *     This symbol, if defined, indicates that <sys/utsname.h> exists and
- *     should be included.
- */
-#$i_sysutsname I_SYS_UTSNAME           /**/
-
 #endif
 !GROK!THIS!