integrate cfgperl contents into mainline
[p5sagit/p5-mst-13.2.git] / config_h.SH
index 0e0e525..07fbc03 100644 (file)
@@ -1676,6 +1676,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
 #define LONGLONGSIZE $longlongsize             /**/
 #endif
 
+/* 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_MEMCHR:
  *     This symbol, if defined, indicates that the memchr routine is available
  *     to locate characters within a C string.
@@ -2850,7 +2856,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  */
 #define Uid_t $uidtype         /* UID type */
 
-/* USE_64_BITS:
+/* USE_64_BIT_INT:
  *     This symbol, if defined, indicates that 64-bit integers should
  *     be used when available.  If not defined, the native integers
  *     will be employed (be they 32 or 64 bits).  The minimal possible
@@ -2858,12 +2864,22 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
  *     This may mean using for example "long longs", while your memory
  *     may still be limited to 2 gigabytes.
  */
-#ifndef USE_64_BITS
-#$use64bits    USE_64_BITS             /**/
+/* USE_64_BIT_ALL:
+ *     This symbol, if defined, indicates that 64-bit integers should
+ *     be used when available.  If not defined, the native integers
+ *     will be used (be they 32 or 64 bits).  The maximal possible
+ *     64-bitness is employed: LP64 or ILP64, meaning that you will
+ *     be able to use more than 2 gigabytes of memory.  This mode is
+ *     even more binary incompatible than USE_64_BIT_INT. You may not
+ *     be able to run the resulting executable in a 32-bit CPU at all or
+ *     you may need at least to reboot your OS to 64-bit mode.
+ */
+#ifndef USE_64_BIT_INT
+#$use64bitint  USE_64_BIT_INT          /**/
 #endif
 
-#ifndef USE_FULL_64_BITS
-#$usefull64bits        USE_FULL_64_BITS                /**/
+#ifndef USE_64_BIT_ALL
+#$use64bitall  USE_64_BIT_ALL          /**/
 #endif
 
 /* USE_LARGE_FILES:
@@ -3015,8 +3031,8 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
 #$d_lseekproto HAS_LSEEK_PROTO /**/
 
 /* Sock_size_t:
- *     This symbol holds the type used for the size argument
- *     of various socket calls.
+ *     This symbol holds the type used for the size argument of
+ *     various socket calls (just the base type, not the pointer-to).
  */
 #define Sock_size_t            $socksizetype /**/