This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
new perldelta
[perl5.git] / config_h.SH
index ce046ed..da0f2db 100755 (executable)
@@ -32,7 +32,7 @@ case "$CONFIG_H" in
 already-done) echo "Not re-extracting config.h" ;;
 *)
 echo "Extracting $CONFIG_H (with variable substitutions)"
-sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
+sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!' -e's!define\t!define !'
 /* This file was produced by running the config_h.SH script, which
  * gets its values from $CONFIG_SH, which is generally produced by
  * running Configure.
@@ -255,7 +255,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 
 /* HAS_MBLEN:
  *     This symbol, if defined, indicates that the mblen routine is available
- *     to find the number of bytes in a multibye character.
+ *     to find the number of bytes in a multibyte character.
  */
 #$d_mblen HAS_MBLEN            /**/
 
@@ -381,7 +381,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 
 /* HAS_REGCOMP:
  *     This symbol, if defined, indicates that the regcomp() routine is
- *     available to do some regular patern matching (usually on POSIX.2
+ *     available to do some regular pattern matching (usually on POSIX.2
  *     conforming systems).
  */
 #$d_regcomp HAS_REGCOMP                /* POSIX.2 */
@@ -439,12 +439,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_setlinebuf HAS_SETLINEBUF          /**/
 
-/* HAS_SETLOCALE:
- *     This symbol, if defined, indicates that the setlocale routine is
- *     available to handle locale-specific ctype implementations.
- */
-#$d_setlocale HAS_SETLOCALE    /**/
-
 /* HAS_SETPGID:
  *     This symbol, if defined, indicates that the setpgid(pid, gpid)
  *     routine is available to set process group ID.
@@ -673,24 +667,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$i_locale     I_LOCALE                /**/
 
-/* I_MEMORY:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <memory.h>.
- */
-#$i_memory I_MEMORY            /**/
-
 /* I_NETINET_IN:
  *     This symbol, if defined, indicates to the C program that it should
  *     include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
  */
 #$i_niin I_NETINET_IN  /**/
 
-/* I_STRING:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <string.h> (USG systems) instead of <strings.h> (BSD systems).
- */
-#$i_string I_STRING            /**/
-
 /* I_SYS_DIR:
  *     This symbol, if defined, indicates to the C program that it should
  *     include <sys/dir.h>.
@@ -855,14 +837,14 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$d_eaccess HAS_EACCESS                /**/
 
 /* I_SYS_ACCESS:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <sys/access.h>.
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <sys/access.h>.
  */
 #$i_sysaccess   I_SYS_ACCESS                /**/
 
 /* I_SYS_SECURITY:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <sys/security.h>.
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <sys/security.h>.
  */
 #$i_syssecrt   I_SYS_SECURITY  /**/
 
@@ -870,7 +852,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol contains the number of bytes required to align a
  *     double, or a long double when applicable. Usual values are 2,
  *     4 and 8. The default is eight, for safety.  For cross-compiling
- *     or multiarch support, Configure will set a minimum of 8.
+ *     or multiarch support, Configure will set a minimum of 8.
  */
 #define MEM_ALIGNBYTES $alignbytes
 
@@ -973,7 +955,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     the GNU C library is being used.  A better check is to use
  *     the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
  */
-#$d_gnulibc HAS_GNULIBC        /**/
+#$d_gnulibc HAS_GNULIBC        /**/
 #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
 #   define _GNU_SOURCE
 #endif
@@ -1125,12 +1107,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol is defined if using the FILE_ptr macro as an lvalue
  *     to increase the pointer by n leaves File_cnt(fp) unchanged.
  */
-#$d_stdstdio USE_STDIO_PTR     /**/
+#$d_stdstdio USE_STDIO_PTR     /**/
 #ifdef USE_STDIO_PTR
 #define FILE_ptr(fp)   $stdio_ptr
-#$d_stdio_ptr_lval STDIO_PTR_LVALUE            /**/
+#$d_stdio_ptr_lval STDIO_PTR_LVALUE            /**/
 #define FILE_cnt(fp)   $stdio_cnt
-#$d_stdio_cnt_lval STDIO_CNT_LVALUE            /**/
+#$d_stdio_cnt_lval STDIO_CNT_LVALUE            /**/
 #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT    /**/
 #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT    /**/
 #endif
@@ -1155,7 +1137,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     structure pointed to its argument. This macro will always be defined
  *     if USE_STDIO_BASE is defined.
  */
-#$d_stdiobase USE_STDIO_BASE   /**/
+#$d_stdiobase USE_STDIO_BASE   /**/
 #ifdef USE_STDIO_BASE
 #define FILE_base(fp)  $stdio_base
 #define FILE_bufsiz(fp)        $stdio_bufsiz
@@ -1261,13 +1243,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     to get any typedef'ed information.
  *     We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  */
-#define SSize_t $ssizetype      /* signed count of bytes */
+#define SSize_t $ssizetype     /* signed count of bytes */
 
 /* EBCDIC:
  *     This symbol, if defined, indicates that this system uses
  *     EBCDIC encoding.
  */
-#$ebcdic       EBCDIC          /**/
+#$ebcdic       EBCDIC          /**/
 
 /* ARCHLIB:
  *     This variable, if defined, holds the name of the directory in
@@ -1299,7 +1281,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #define BIN "$bin"     /**/
 #define BIN_EXP "$binexp"      /**/
-#define PERL_RELOCATABLE_INC "$userelocatableinc"              /**/
+#define PERL_RELOCATABLE_INC "$userelocatableinc"              /**/
 
 /* PERL_INC_VERSION_LIST:
  *     This variable specifies the list of subdirectories in over
@@ -1312,7 +1294,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 
 /* INSTALL_USR_BIN_PERL:
  *     This symbol, if defined, indicates that Perl is to be installed
- *     also as /usr/bin/perl.
+ *     also as /usr/bin/perl.
  */
 #$installusrbinperl INSTALL_USR_BIN_PERL       /**/
 
@@ -1448,7 +1430,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* CPPSTDIN:
  *     This symbol contains the first part of the string which will invoke
  *     the C preprocessor on the standard input and produce to standard
- *     output.  Typical value of "cc -E" or "/lib/cpp", but it can also
+ *     output.  Typical value of "cc -E" or "/lib/cpp", but it can also
  *     call a wrapper. See CPPRUN.
  */
 /* CPPMINUS:
@@ -1509,6 +1491,14 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* HASATTRIBUTE_WARN_UNUSED_RESULT:
  *     Can we handle GCC attribute for warning on unused results
  */
+/* HASATTRIBUTE_ALWAYS_INLINE:
+ *     Can we handle GCC attribute for functions that should always be
+ *     inlined.
+ */
+/* HASATTRIBUTE_VISIBILITY:
+ *     Can we handle GCC attribute for functions that should have a
+ *     different visibility.
+ */
 #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED       /**/
 #$d_attribute_format HASATTRIBUTE_FORMAT       /**/
 #$d_printf_format_null PRINTF_FORMAT_NULL_OK   /**/
@@ -1518,6 +1508,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$d_attribute_pure HASATTRIBUTE_PURE   /**/
 #$d_attribute_unused HASATTRIBUTE_UNUSED       /**/
 #$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT       /**/
+#$d_attribute_always_inline HASATTRIBUTE_ALWAYS_INLINE /**/
+#$d_attribute_visibility HASATTRIBUTE_VISIBILITY       /**/
 
 /* HAS_BACKTRACE:
  *     This symbol, if defined, indicates that the backtrace() routine is
@@ -1526,17 +1518,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_backtrace HAS_BACKTRACE    /**/
 
-/* HASCONST:
- *     This symbol, if defined, indicates that this C compiler knows about
- *     the const type. There is no need to actually test for that symbol
- *     within your programs. The mere use of the "const" keyword will
- *     trigger the necessary tests.
- */
-#$d_const HASCONST     /**/
-#ifndef HASCONST
-#define const
-#endif
-
 /* HAS_CSH:
  *     This symbol, if defined, indicates that the C-shell exists.
  */
@@ -1600,7 +1581,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$d_endpent HAS_ENDPROTOENT            /**/
 
 /* HAS_ENDPWENT:
- *     This symbol, if defined, indicates that the getgrent routine is
+ *     This symbol, if defined, indicates that the endpwent routine is
  *     available for finalizing sequential access of the passwd database.
  */
 #$d_endpwent HAS_ENDPWENT              /**/
@@ -1791,6 +1772,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE
  *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE
  *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE
+ *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN
+ *     LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN
  *     LONG_DOUBLE_IS_VAX_H_FLOAT
  *     LONG_DOUBLE_IS_UNKNOWN_FORMAT
  *     It is only defined if the system supports long doubles.
@@ -1968,6 +1951,10 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol, if defined, indicates the availability of
  *     struct sockaddr_in6;
  */
+/* HAS_SOCKADDR_STORAGE:
+ *     This symbol, if defined, indicates the availability of
+ *     struct sockaddr_storage;
+ */
 /* HAS_SIN6_SCOPE_ID:
  *     This symbol, if defined, indicates that the struct sockaddr_in6
  *     structure has a member called sin6_scope_id.
@@ -1992,6 +1979,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$d_sockpair   HAS_SOCKETPAIR  /**/
 #$d_sockaddr_sa_len    HAS_SOCKADDR_SA_LEN     /**/
 #$d_sockaddr_in6       HAS_SOCKADDR_IN6        /**/
+#$d_sockaddr_storage   HAS_SOCKADDR_STORAGE    /**/
 #$d_sin6_scope_id      HAS_SIN6_SCOPE_ID       /**/
 #$d_ip_mreq    HAS_IP_MREQ     /**/
 #$d_ip_mreq_source     HAS_IP_MREQ_SOURCE      /**/
@@ -2003,7 +1991,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     st_blksize and st_blocks.
  */
 #ifndef USE_STAT_BLOCKS
-#$d_statblks USE_STAT_BLOCKS   /**/
+#$d_statblks USE_STAT_BLOCKS   /**/
 #endif
 
 /* HAS_SYS_ERRLIST:
@@ -2023,11 +2011,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol, if defined, indicates that the union semun is
  *     defined by including <sys/sem.h>.  If not, the user code
  *     probably needs to define it as:
- *     union semun {
+ *      union semun {
  *         int val;
  *         struct semid_ds *buf;
  *         unsigned short *array;
- *     }
+ *      }
  */
 /* USE_SEMCTL_SEMUN:
  *     This symbol, if defined, indicates that union semun is
@@ -2222,7 +2210,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 
 /* Free_t:
  *     This variable contains the return type of free().  It is usually
- * void, but occasionally int.
+ *     void, but occasionally int.
  */
 /* Malloc_t:
  *     This symbol is the type of pointer returned by malloc and realloc.
@@ -2298,7 +2286,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #ifndef USE_CROSS_COMPILE
 #$usecrosscompile      USE_CROSS_COMPILE       /**/
-#define        PERL_TARGETARCH "$targetarch"   /**/
+#define PERL_TARGETARCH        "$targetarch"   /**/
 #endif
 
 /* PERL_USE_DEVEL:
@@ -2326,6 +2314,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d__fwalk HAS__FWALK          /**/
 
+/* HAS_ACCEPT4:
+ *     This symbol, if defined, indicates that the accept4 routine is
+ *     available to accept socket connections.
+ */
+#$d_accept4 HAS_ACCEPT4        /**/
+
 /* HAS_ACOSH:
  *     This symbol, if defined, indicates that the acosh routine is
  *     available to do the inverse hyperbolic cosine function.
@@ -2350,6 +2344,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_atanh HAS_ATANH            /**/
 
+/* HAS_NON_INT_BITFIELDS:
+ *     This symbol, if defined, indicates that the C compiler accepts, without
+ *     error or warning, struct bitfields that are declared with sizes other
+ *     than plain 'int'; for example 'unsigned char' is accepted.
+ */
+#$d_non_int_bitfields HAS_NON_INT_BITFIELDS    /**/
+
 /* HAS_BUILTIN_CHOOSE_EXPR:
  *     Can we handle GCC builtin for compile-time ternary-like expressions
  */
@@ -2438,7 +2439,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$d_dbminitproto       HAS_DBMINIT_PROTO       /**/
 
 /* HAS_DIR_DD_FD:
- *     This symbol, if defined, indicates that the the DIR* dirstream
+ *     This symbol, if defined, indicates that the DIR* dirstream
  *     structure contains a member variable named dd_fd.
  */
 #$d_dir_dd_fd HAS_DIR_DD_FD            /**/
@@ -2455,7 +2456,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     makes sense if you *have* dlsym, which we will presume is the
  *     case if you're using dl_dlopen.xs.
  */
-#$d_dlsymun    DLSYM_NEEDS_UNDERSCORE  /**/
+#$d_dlsymun    DLSYM_NEEDS_UNDERSCORE  /**/
+
+/* HAS_DUP3:
+ *     This symbol, if defined, indicates that the dup3 routine is
+ *     available to duplicate file descriptors.
+ */
+#$d_dup3 HAS_DUP3      /**/
 
 /* HAS_ERF:
  *     This symbol, if defined, indicates that the erf routine is
@@ -2520,6 +2527,19 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_fegetround HAS_FEGETROUND  /**/
 
+/* HAS_FFS:
+ *     This symbol, if defined, indicates that the ffs routine is available
+ *     to find the first bit set in its argument.  If it's not available,
+ *     roll your own.
+ */
+/* HAS_FFSL:
+ *     This symbol, if defined, indicates that the ffsl routine is available
+ *     to find the first bit set in its argument.  If it's not available,
+ *     roll your own.
+ */
+#$d_ffs HAS_FFS                /**/
+#$d_ffsl HAS_FFSL              /**/
+
 /* HAS_FINITE:
  *     This symbol, if defined, indicates that the finite routine is
  *     available to check whether a double is finite (non-infinity non-NaN).
@@ -2607,22 +2627,22 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     available to classify doubles.  Available for example in HP-UX.
  *     The returned values are defined in <math.h> and are
  *
- *           FP_NORMAL     Normalized
- *           FP_ZERO       Zero
- *           FP_INFINITE   Infinity
- *           FP_SUBNORMAL  Denormalized
- *           FP_NAN        NaN
+ *       FP_NORMAL     Normalized
+ *       FP_ZERO       Zero
+ *       FP_INFINITE   Infinity
+ *       FP_SUBNORMAL  Denormalized
+ *       FP_NAN        NaN
  *
  */
 /* HAS_FP_CLASSIFY:
  *     This symbol, if defined, indicates that the fp_classify routine is
  *     available to classify doubles. The values are defined in <math.h>
  *
- *           FP_NORMAL     Normalized
- *           FP_ZERO       Zero
- *           FP_INFINITE   Infinity
- *           FP_SUBNORMAL  Denormalized
- *           FP_NAN        NaN
+ *       FP_NORMAL     Normalized
+ *       FP_ZERO       Zero
+ *       FP_INFINITE   Infinity
+ *       FP_SUBNORMAL  Denormalized
+ *       FP_NAN        NaN
  *
  */
 #$d_fpclassify HAS_FPCLASSIFY          /**/
@@ -2655,7 +2675,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* HAS_FPOS64_T:
  *     This symbol will be defined if the C compiler supports fpos64_t.
  */
-#$d_fpos64_t   HAS_FPOS64_T            /**/
+#$d_fpos64_t   HAS_FPOS64_T    /**/
 
 /* HAS_FREXPL:
  *     This symbol, if defined, indicates that the frexpl routine is
@@ -2826,8 +2846,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$d_inetpton HAS_INETPTON              /**/
 
 /* HAS_INT64_T:
- *     This symbol will defined if the C compiler supports int64_t.
- *     Usually the <inttypes.h> needs to be included, but sometimes
+ *     This symbol will defined if the C compiler supports int64_t.
+ *     Usually the <inttypes.h> needs to be included, but sometimes
  *     <sys/types.h> is enough.
  */
 #$d_int64_t     HAS_INT64_T               /**/
@@ -2912,7 +2932,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     of significant digits in a long double precision number. Unlike
  *     for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
  */
-#$d_ldbl_dig HAS_LDBL_DIG      /* */
+#$d_ldbl_dig HAS_LDBL_DIG      /* */
 
 /* HAS_LGAMMA:
  *     This symbol, if defined, indicates that the lgamma routine is
@@ -3026,8 +3046,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 
 /* HAS_MEMMEM:
  *     This symbol, if defined, indicates that the memmem routine is
- *     available to return a pointer to the start of the first occurance
+ *     available to return a pointer to the start of the first occurrence
  *     of a substring in a memory area (or NULL if not found).
+ *     In glibc, memmem is a GNU extension.  The function is visible in
+ *     libc, but the prototype is only visible if _GNU_SOURCE is #defined.
+ *     Thus we only define this if both the prototype and symbol are found.
  */
 #$d_memmem HAS_MEMMEM          /**/
 
@@ -3044,6 +3067,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_mkdtemp HAS_MKDTEMP                /**/
 
+/* HAS_MKOSTEMP:
+ *     This symbol, if defined, indicates that the mkostemp routine is
+ *     available to exclusively create and open a uniquely named (with a
+ *     suffix) temporary file.
+ */
+#$d_mkostemp HAS_MKOSTEMP      /**/
+
 /* HAS_MKSTEMPS:
  *     This symbol, if defined, indicates that the mkstemps routine is
  *     available to exclusively create and open a uniquely named
@@ -3108,18 +3138,28 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol, if defined, indicates that the uselocale routine is
  *     available to set the current locale for the calling thread.
  */
+/* HAS_DUPLOCALE:
+ *     This symbol, if defined, indicates that the duplocale routine is
+ *     available to duplicate a locale object.
+ */
 /* HAS_QUERYLOCALE:
  *     This symbol, if defined, indicates that the querylocale routine is
  *     available to return the name of the locale for a category mask.
  */
 /* I_XLOCALE:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <xlocale.h> to get uselocale() and its friends.
+ *     This symbol, if defined, indicates to the C program that the
+ *     header xlocale.h is available.  See also NEED_XLOCALE_H
+ */
+/* NEED_XLOCALE_H:
+ *     This symbol, if defined, indicates that the C program should
+ *     include <xlocale.h> to get newlocale() and its friends.
  */
 #$d_newlocale  HAS_NEWLOCALE   /**/
 #$d_freelocale HAS_FREELOCALE  /**/
 #$d_uselocale  HAS_USELOCALE   /**/
+#$d_duplocale  HAS_DUPLOCALE   /**/
 #$d_querylocale        HAS_QUERYLOCALE /**/
+#$xlocale_needed       NEED_XLOCALE_H  /**/
 #$i_xlocale    I_XLOCALE               /**/
 
 /* HAS_NEXTAFTER:
@@ -3138,15 +3178,27 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 
 /* HAS_NL_LANGINFO:
  *     This symbol, if defined, indicates that the nl_langinfo routine is
- *     available to return local data.  You will also need <langinfo.h>
+ *     available to return locale data.  You will also need <langinfo.h>
+ *     and therefore I_LANGINFO.
+ */
+/* HAS_NL_LANGINFO_L:
+ *     This symbol, if defined, indicates that the nl_langinfo_l routine is
+ *     available to return locale data.  You will also need <langinfo.h>
  *     and therefore I_LANGINFO.
  */
 #$d_nl_langinfo HAS_NL_LANGINFO                /**/
+#$d_nl_langinfo_l HAS_NL_LANGINFO_L            /**/
 
 /* HAS_OFF64_T:
  *     This symbol will be defined if the C compiler supports off64_t.
  */
-#$d_off64_t    HAS_OFF64_T             /**/
+#$d_off64_t    HAS_OFF64_T             /**/
+
+/* HAS_PIPE2:
+ *     This symbol, if defined, indicates that the pipe2 routine is
+ *     available to create an inter-process channel.
+ */
+#$d_pipe2 HAS_PIPE2            /**/
 
 /* HAS_PRCTL:
  *     This symbol, if defined, indicates that the prctl routine is
@@ -3185,7 +3237,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* HAS_PTRDIFF_T:
  *     This symbol will be defined if the C compiler supports ptrdiff_t.
  */
-#$d_ptrdiff_t  HAS_PTRDIFF_T                   /**/
+#$d_ptrdiff_t  HAS_PTRDIFF_T           /**/
 
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
@@ -3253,12 +3305,29 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_sendmsg HAS_SENDMSG                /**/
 
+/* HAS_SETENV:
+ *     This symbol, if defined, indicates that the setenv routine is
+ *     available for use.
+ */
+#$d_setenv HAS_SETENV          /**/
+
 /* HAS_SETITIMER:
  *     This symbol, if defined, indicates that the setitimer routine is
  *     available to set interval timers.
  */
 #$d_setitimer HAS_SETITIMER            /**/
 
+/* HAS_SETLOCALE:
+ *     This symbol, if defined, indicates that the setlocale routine is
+ *     available to handle locale-specific ctype implementations.
+ */
+/* SETLOCALE_ACCEPTS_ANY_LOCALE_NAME:
+ *     This symbol, if defined, indicates that the setlocale routine is
+ *     available and it accepts any input locale name as valid.
+ */
+#$d_setlocale HAS_SETLOCALE    /**/
+#$d_setlocale_accepts_any_locale_name SETLOCALE_ACCEPTS_ANY_LOCALE_NAME        /**/
+
 /* HAS_SETPROCTITLE:
  *     This symbol, if defined, indicates that the setproctitle routine is
  *     available to set process title.
@@ -3290,6 +3359,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$usesitecustomize     USE_SITECUSTOMIZE               /**/
 #endif
 
+/* HAS_SNPRINTF:
+ *     This symbol, if defined, indicates that the snprintf () library
+ *     function is available for use.
+ */
+/* HAS_VSNPRINTF:
+ *     This symbol, if defined, indicates that the vsnprintf () library
+ *     function is available for use.
+ */
+#$d_snprintf HAS_SNPRINTF      /**/
+#$d_vsnprintf HAS_VSNPRINTF    /**/
+
 /* HAS_SOCKATMARK:
  *     This symbol, if defined, indicates that the sockatmark routine is
  *     available to test whether a socket is at the out-of-band mark.
@@ -3416,6 +3496,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_strtouq HAS_STRTOUQ                /**/
 
+/* HAS_STRXFRM_L:
+ *     This symbol, if defined, indicates that the strxfrm_l() routine is
+ *     available to transform strings.
+ */
+#$d_strxfrm_l HAS_STRXFRM_L    /**/
+
 /* HAS_SYSCALL_PROTO:
  *     This symbol, if defined, indicates that the system provides
  *     a prototype for the syscall() function.  Otherwise, it is up
@@ -3476,6 +3562,18 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_timegm HAS_TIMEGM          /**/
 
+/* HAS_TOWLOWER:
+ *     This symbol, if defined, indicates that the towlower () routine is
+ *     available to do case conversion.
+ */
+#$d_towlower HAS_TOWLOWER              /**/
+
+/* HAS_TOWUPPER:
+ *     This symbol, if defined, indicates that the towupper () routine is
+ *     available to do case conversion.
+ */
+#$d_towupper HAS_TOWUPPER              /**/
+
 /* HAS_TRUNC:
  *     This symbol, if defined, indicates that the trunc routine is
  *     available to round doubles towards zero.
@@ -3537,7 +3635,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 
 /* HAS_WCSXFRM:
  *     This symbol, if defined, indicates that the wcsxfrm routine is
- *     available to tranform a wide character string for wcscmp().
+ *     available to transform a wide character string for wcscmp().
  */
 #$d_wcsxfrm HAS_WCSXFRM        /**/
 
@@ -3553,6 +3651,31 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$default_inc_excludes_dot DEFAULT_INC_EXCLUDES_DOT    /**/
 
+/* PERL_LC_ALL_USES_NAME_VALUE_PAIRS:
+ *     This symbol, if defined, indicates to the C program that the string
+ *     returned by setlocale(LC_ALL, NULL) uses 'name=value;' pairs to
+ *     indicate what each category's locale is when they aren't all set to the
+ *     same locale.  For example, "LC_NUMERIC=C;LC_CTYPE=de_DE;..."
+ *     When not defined, the system uses positional notation.
+ */
+/* PERL_LC_ALL_SEPARATOR:
+ *     This symbol, if defined, gives the string returned by
+ *     setlocale(LC_ALL, NULL) to separate categories that are in different
+ *     locales on systems that use a positional notation as opposed to
+ *     'name=value' pairs.  An example on some platforms could be the '/' in
+ *     "C/de_DE/C/en_UK/C/C"
+ */
+/* PERL_LC_ALL_CATEGORY_POSITIONS_INIT:
+ *     This symbol, when defined, gives the C initializer for an array whose
+ *     element [0] is the first category in the string returned by
+ *     setlocale(LC_ALL, NULL) when not all categories are the same, on
+ *     systems that use a positional notation.  After element [0] is
+ *     LC_ALL_SEPARATOR, then the category given by element [1] and so on.
+ */
+#$d_perl_lc_all_uses_name_value_pairs PERL_LC_ALL_USES_NAME_VALUE_PAIRS        /**/
+#$d_perl_lc_all_separator  PERL_LC_ALL_SEPARATOR $perl_lc_all_separator        /**/
+#$d_perl_lc_all_category_positions_init  PERL_LC_ALL_CATEGORY_POSITIONS_INIT  $perl_lc_all_category_positions_init     /**/
+
 /* USE_DYNAMIC_LOADING:
  *     This symbol, if defined, indicates that dynamic loading of
  *     some sort is available.
@@ -3572,8 +3695,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     Note that if fflushNULL is defined, fflushall will not
  *     even be probed for and will be left undefined.
  */
-#$fflushNULL   FFLUSH_NULL             /**/
-#$fflushall    FFLUSH_ALL              /**/
+#$fflushNULL   FFLUSH_NULL             /**/
+#$fflushall    FFLUSH_ALL              /**/
 
 /* I_BFD:
  *     This symbol, if defined, indicates that <bfd.h> exists and
@@ -3612,10 +3735,10 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     For DB version 1 this is always 0.
  */
 #define DB_Hash_t      $db_hashtype            /**/
-#define DB_Prefix_t    $db_prefixtype          /**/
-#define DB_VERSION_MAJOR_CFG   $db_version_major       /**/
-#define DB_VERSION_MINOR_CFG   $db_version_minor       /**/
-#define DB_VERSION_PATCH_CFG   $db_version_patch       /**/
+#define DB_Prefix_t    $db_prefixtype          /**/
+#define DB_VERSION_MAJOR_CFG   $db_version_major       /**/
+#define DB_VERSION_MINOR_CFG   $db_version_minor       /**/
+#define DB_VERSION_PATCH_CFG   $db_version_patch       /**/
 
 /* I_FENV:
  *     This symbol, if defined, indicates to the C program that it should
@@ -3642,8 +3765,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$i_ieeefp     I_IEEEFP                /**/
 
 /* I_INTTYPES:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <inttypes.h>.
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <inttypes.h>.
  */
 #$i_inttypes   I_INTTYPES                /**/
 
@@ -3672,8 +3795,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$i_mntent     I_MNTENT                /**/
 
 /* I_NETINET_TCP:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <netinet/tcp.h>.
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <netinet/tcp.h>.
  */
 #$i_netinettcp   I_NETINET_TCP                /**/
 
@@ -3754,6 +3877,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$i_sysstatvfs I_SYS_STATVFS           /**/
 
+/* I_SYS_SYSCALL:
+ *     This symbol, if defined, indicates that <sys/syscall.h> exists.
+ */
+#$i_syssyscall I_SYS_SYSCALL           /**/
+
 /* I_SYSUTSNAME:
  *     This symbol, if defined, indicates that <sys/utsname.h> exists and
  *     should be included.
@@ -3773,11 +3901,16 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$i_ustat      I_USTAT         /**/
 
 /* I_WCHAR:
- *     This symbol, if defined, indicates to the C program that <wchar.h>
- *     is available for inclusion
+ *     This symbol, if defined, indicates to the C program that <wchar.h>
+ *     is available for inclusion
  */
 #$i_wchar   I_WCHAR    /**/
 
+/* I_WCTYPE:
+ *     This symbol, if defined, indicates that <wctype.h> exists.
+ */
+#$i_wctype     I_WCTYPE                /**/
+
 /* DOUBLEINFBYTES:
  *     This symbol, if defined, is a comma-separated list of
  *     hexadecimal bytes for the double precision infinity.
@@ -3929,6 +4062,32 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$need_va_copy NEED_VA_COPY            /**/
 
+/* I32df:
+ *     This symbol defines the format string used for printing a Perl I32
+ *     as a signed decimal integer.
+ */
+/* U32uf:
+ *     This symbol defines the format string used for printing a Perl U32
+ *     as an unsigned decimal integer.
+ */
+/* U32of:
+ *     This symbol defines the format string used for printing a Perl U32
+ *     as an unsigned octal integer.
+ */
+/* U32xf:
+ *     This symbol defines the format string used for printing a Perl U32
+ *     as an unsigned hexadecimal integer in lowercase abcdef.
+ */
+/* U32Xf:
+ *     This symbol defines the format string used for printing a Perl U32
+ *     as an unsigned hexadecimal integer in uppercase ABCDEF.
+ */
+#define I32df          $i32dformat             /**/
+#define U32of          $u32oformat             /**/
+#define U32uf          $u32uformat             /**/
+#define U32xf          $u32xformat             /**/
+#define U32Xf          $u32XUformat            /**/
+
 /* IVTYPE:
  *     This symbol defines the C type used for Perl's IV.
  */
@@ -4018,35 +4177,35 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol, if defined, indicates that a variable of type NVTYPE
  *     stores 0.0 in memory as all bits zero.
  */
-#define        IVTYPE          $ivtype         /**/
-#define        UVTYPE          $uvtype         /**/
-#define        I8TYPE          $i8type         /**/
-#define        U8TYPE          $u8type         /**/
-#define        I16TYPE         $i16type        /**/
-#define        U16TYPE         $u16type        /**/
-#define        I32TYPE         $i32type        /**/
-#define        U32TYPE         $u32type        /**/
+#define IVTYPE         $ivtype         /**/
+#define UVTYPE         $uvtype         /**/
+#define I8TYPE         $i8type         /**/
+#define U8TYPE         $u8type         /**/
+#define I16TYPE                $i16type        /**/
+#define U16TYPE                $u16type        /**/
+#define I32TYPE                $i32type        /**/
+#define U32TYPE                $u32type        /**/
 #ifdef HAS_QUAD
-#define        I64TYPE         $i64type        /**/
-#define        U64TYPE         $u64type        /**/
+#define I64TYPE                $i64type        /**/
+#define U64TYPE                $u64type        /**/
 #endif
-#define        NVTYPE          $nvtype         /**/
-#define        IVSIZE          $ivsize         /**/
-#define        UVSIZE          $uvsize         /**/
-#define        I8SIZE          $i8size         /**/
-#define        U8SIZE          $u8size         /**/
-#define        I16SIZE         $i16size        /**/
-#define        U16SIZE         $u16size        /**/
-#define        I32SIZE         $i32size        /**/
-#define        U32SIZE         $u32size        /**/
+#define NVTYPE         $nvtype         /**/
+#define IVSIZE         $ivsize         /**/
+#define UVSIZE         $uvsize         /**/
+#define I8SIZE         $i8size         /**/
+#define U8SIZE         $u8size         /**/
+#define I16SIZE                $i16size        /**/
+#define U16SIZE                $u16size        /**/
+#define I32SIZE                $i32size        /**/
+#define U32SIZE                $u32size        /**/
 #ifdef HAS_QUAD
-#define        I64SIZE         $i64size        /**/
-#define        U64SIZE         $u64size        /**/
+#define I64SIZE                $i64size        /**/
+#define U64SIZE                $u64size        /**/
 #endif
-#define        NVSIZE          $nvsize         /**/
+#define NVSIZE         $nvsize         /**/
 #$d_nv_preserves_uv    NV_PRESERVES_UV
-#define        NV_PRESERVES_UV_BITS    $nv_preserves_uv_bits
-#define        NV_OVERFLOWS_INTEGERS_AT        ($nv_overflows_integers_at)
+#define NV_PRESERVES_UV_BITS   $nv_preserves_uv_bits
+#define NV_OVERFLOWS_INTEGERS_AT       ($nv_overflows_integers_at)
 #$d_nv_zero_is_allbits_zero    NV_ZERO_IS_ALLBITS_ZERO
 #if UVSIZE == 8
 #   ifdef BYTEORDER
@@ -4094,14 +4253,14 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol defines the format string used for printing a Perl NV
  *     using %g-ish floating point format.
  */
-#define        IVdf            $ivdformat              /**/
-#define        UVuf            $uvuformat              /**/
-#define        UVof            $uvoformat              /**/
-#define        UVxf            $uvxformat              /**/
-#define        UVXf            $uvXUformat             /**/
-#define        NVef            $nveformat              /**/
-#define        NVff            $nvfformat              /**/
-#define        NVgf            $nvgformat              /**/
+#define IVdf           $ivdformat              /**/
+#define UVuf           $uvuformat              /**/
+#define UVof           $uvoformat              /**/
+#define UVxf           $uvxformat              /**/
+#define UVXf           $uvXUformat             /**/
+#define NVef           $nveformat              /**/
+#define NVff           $nvfformat              /**/
+#define NVgf           $nvgformat              /**/
 
 /* SELECT_MIN_BITS:
  *     This symbol holds the minimum number of bits operated by select.
@@ -4110,7 +4269,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     is either n or 32*ceil(n/32), especially many little-endians do
  *     the latter.  This is only useful if you have select(), naturally.
  */
-#define SELECT_MIN_BITS        $selectminbits  /**/
+#define SELECT_MIN_BITS        $selectminbits  /**/
+
+/* ST_DEV_SIZE:
+ *     This variable contains the size of struct stat's st_dev in bytes.
+ */
+/* ST_DEV_SIGN:
+ *     This symbol holds the signedness of struct stat's st_dev.
+ *     1 for unsigned, -1 for signed.
+ */
+#define ST_DEV_SIGN $st_dev_sign       /* st_dev sign */
+#define ST_DEV_SIZE $st_dev_size       /* st_dev size */
 
 /* ST_INO_SIZE:
  *     This variable contains the size of struct stat's st_ino in bytes.
@@ -4188,11 +4357,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #$use64bitall  USE_64_BIT_ALL          /**/
 #endif
 
-/* USE_CBACKTRACE:
+/* USE_C_BACKTRACE:
  *     This symbol, if defined, indicates that Perl should
  *     be built with support for backtrace.
  */
-#$usecbacktrace USE_CBACKTRACE         /**/
+#$usecbacktrace USE_C_BACKTRACE                /**/
+
+/* USE_STRICT_BY_DEFAULT:
+ *     This symbol, if defined, enables additional defaults.
+ *     At this time it only enables implicit strict by default.
+ */
+#$usedefaultstrict USE_STRICT_BY_DEFAULT       /* use strict by default */
 
 /* USE_DTRACE:
  *     This symbol, if defined, indicates that Perl should
@@ -4212,7 +4387,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* USE_KERN_PROC_PATHNAME:
  *     This symbol, if defined, indicates that we can use sysctl with
  *     KERN_PROC_PATHNAME to get a full path for the executable, and hence
- *     convert $^X to an absolute path.
+ *     convert $^X to an absolute path.
  */
 #$usekernprocpathname USE_KERN_PROC_PATHNAME   /**/
 
@@ -4355,7 +4530,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     is defined, and 'int *' otherwise.  This is only useful if you
  *     have select(), of course.
  */
-#define Select_fd_set_t        $selecttype     /**/
+#define Select_fd_set_t        $selecttype     /**/
 
 /* Sock_size_t:
  *     This symbol holds the type used for the size argument of
@@ -4381,8 +4556,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
  *     is defined.
  */
-#$d_asctime_r HAS_ASCTIME_R       /**/
-#define ASCTIME_R_PROTO $asctime_r_proto          /**/
+#$d_asctime_r HAS_ASCTIME_R    /**/
+#define ASCTIME_R_PROTO $asctime_r_proto       /**/
 
 /* HAS_CRYPT_R:
  *     This symbol, if defined, indicates that the crypt_r routine
@@ -4394,8 +4569,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
  *     is defined.
  */
-#$d_crypt_r HAS_CRYPT_R           /**/
-#define CRYPT_R_PROTO $crypt_r_proto      /**/
+#$d_crypt_r HAS_CRYPT_R        /**/
+#define CRYPT_R_PROTO $crypt_r_proto   /**/
 
 /* HAS_CTERMID_R:
  *     This symbol, if defined, indicates that the ctermid_r routine
@@ -4407,8 +4582,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
  *     is defined.
  */
-#$d_ctermid_r HAS_CTERMID_R       /**/
-#define CTERMID_R_PROTO $ctermid_r_proto          /**/
+#$d_ctermid_r HAS_CTERMID_R    /**/
+#define CTERMID_R_PROTO $ctermid_r_proto       /**/
 
 /* HAS_CTIME_R:
  *     This symbol, if defined, indicates that the ctime_r routine
@@ -4420,8 +4595,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
  *     is defined.
  */
-#$d_ctime_r HAS_CTIME_R           /**/
-#define CTIME_R_PROTO $ctime_r_proto      /**/
+#$d_ctime_r HAS_CTIME_R        /**/
+#define CTIME_R_PROTO $ctime_r_proto   /**/
 
 /* HAS_DRAND48_R:
  *     This symbol, if defined, indicates that the drand48_r routine
@@ -4433,8 +4608,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
  *     is defined.
  */
-#$d_drand48_r HAS_DRAND48_R       /**/
-#define DRAND48_R_PROTO $drand48_r_proto          /**/
+#$d_drand48_r HAS_DRAND48_R    /**/
+#define DRAND48_R_PROTO $drand48_r_proto       /**/
 
 /* HAS_ENDGRENT_R:
  *     This symbol, if defined, indicates that the endgrent_r routine
@@ -4446,8 +4621,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
  *     is defined.
  */
-#$d_endgrent_r HAS_ENDGRENT_R     /**/
-#define ENDGRENT_R_PROTO $endgrent_r_proto        /**/
+#$d_endgrent_r HAS_ENDGRENT_R  /**/
+#define ENDGRENT_R_PROTO $endgrent_r_proto     /**/
 
 /* HAS_ENDHOSTENT_R:
  *     This symbol, if defined, indicates that the endhostent_r routine
@@ -4459,8 +4634,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
  *     is defined.
  */
-#$d_endhostent_r HAS_ENDHOSTENT_R         /**/
-#define ENDHOSTENT_R_PROTO $endhostent_r_proto    /**/
+#$d_endhostent_r HAS_ENDHOSTENT_R      /**/
+#define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
 
 /* HAS_ENDNETENT_R:
  *     This symbol, if defined, indicates that the endnetent_r routine
@@ -4472,8 +4647,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
  *     is defined.
  */
-#$d_endnetent_r HAS_ENDNETENT_R           /**/
-#define ENDNETENT_R_PROTO $endnetent_r_proto      /**/
+#$d_endnetent_r HAS_ENDNETENT_R        /**/
+#define ENDNETENT_R_PROTO $endnetent_r_proto   /**/
 
 /* HAS_ENDPROTOENT_R:
  *     This symbol, if defined, indicates that the endprotoent_r routine
@@ -4485,8 +4660,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
  *     is defined.
  */
-#$d_endprotoent_r HAS_ENDPROTOENT_R       /**/
-#define ENDPROTOENT_R_PROTO $endprotoent_r_proto          /**/
+#$d_endprotoent_r HAS_ENDPROTOENT_R    /**/
+#define ENDPROTOENT_R_PROTO $endprotoent_r_proto       /**/
 
 /* HAS_ENDPWENT_R:
  *     This symbol, if defined, indicates that the endpwent_r routine
@@ -4498,8 +4673,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
  *     is defined.
  */
-#$d_endpwent_r HAS_ENDPWENT_R     /**/
-#define ENDPWENT_R_PROTO $endpwent_r_proto        /**/
+#$d_endpwent_r HAS_ENDPWENT_R  /**/
+#define ENDPWENT_R_PROTO $endpwent_r_proto     /**/
 
 /* HAS_ENDSERVENT_R:
  *     This symbol, if defined, indicates that the endservent_r routine
@@ -4511,8 +4686,21 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
  *     is defined.
  */
-#$d_endservent_r HAS_ENDSERVENT_R         /**/
-#define ENDSERVENT_R_PROTO $endservent_r_proto    /**/
+#$d_endservent_r HAS_ENDSERVENT_R      /**/
+#define ENDSERVENT_R_PROTO $endservent_r_proto /**/
+
+/* GETENV_PRESERVES_OTHER_THREAD:
+ *     This symbol, if defined, indicates that the getenv system call doesn't
+ *     zap the static buffer of getenv() in a different thread.
+ *
+ *     The typical getenv() implementation will return a pointer to the proper
+ *     position in **environ.  But some may instead copy them to a static
+ *     buffer in getenv().  If there is a per-thread instance of that buffer,
+ *     or the return points to **environ, then a many-reader/1-writer mutex
+ *     will work; otherwise an exclusive locking mutex is required to prevent
+ *     races.
+ */
+#$d_getenv_preserves_other_thread GETENV_PRESERVES_OTHER_THREAD        /**/
 
 /* HAS_GETGRENT_R:
  *     This symbol, if defined, indicates that the getgrent_r routine
@@ -4524,8 +4712,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
  *     is defined.
  */
-#$d_getgrent_r HAS_GETGRENT_R     /**/
-#define GETGRENT_R_PROTO $getgrent_r_proto        /**/
+#$d_getgrent_r HAS_GETGRENT_R  /**/
+#define GETGRENT_R_PROTO $getgrent_r_proto     /**/
 
 /* HAS_GETGRGID_R:
  *     This symbol, if defined, indicates that the getgrgid_r routine
@@ -4537,8 +4725,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
  *     is defined.
  */
-#$d_getgrgid_r HAS_GETGRGID_R     /**/
-#define GETGRGID_R_PROTO $getgrgid_r_proto        /**/
+#$d_getgrgid_r HAS_GETGRGID_R  /**/
+#define GETGRGID_R_PROTO $getgrgid_r_proto     /**/
 
 /* HAS_GETGRNAM_R:
  *     This symbol, if defined, indicates that the getgrnam_r routine
@@ -4550,8 +4738,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
  *     is defined.
  */
-#$d_getgrnam_r HAS_GETGRNAM_R     /**/
-#define GETGRNAM_R_PROTO $getgrnam_r_proto        /**/
+#$d_getgrnam_r HAS_GETGRNAM_R  /**/
+#define GETGRNAM_R_PROTO $getgrnam_r_proto     /**/
 
 /* HAS_GETHOSTBYADDR_R:
  *     This symbol, if defined, indicates that the gethostbyaddr_r routine
@@ -4563,8 +4751,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
  *     is defined.
  */
-#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R           /**/
-#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto      /**/
+#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R        /**/
+#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto   /**/
 
 /* HAS_GETHOSTBYNAME_R:
  *     This symbol, if defined, indicates that the gethostbyname_r routine
@@ -4576,8 +4764,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
  *     is defined.
  */
-#$d_gethostbyname_r HAS_GETHOSTBYNAME_R           /**/
-#define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto      /**/
+#$d_gethostbyname_r HAS_GETHOSTBYNAME_R        /**/
+#define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto   /**/
 
 /* HAS_GETHOSTENT_R:
  *     This symbol, if defined, indicates that the gethostent_r routine
@@ -4589,8 +4777,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
  *     is defined.
  */
-#$d_gethostent_r HAS_GETHOSTENT_R         /**/
-#define GETHOSTENT_R_PROTO $gethostent_r_proto    /**/
+#$d_gethostent_r HAS_GETHOSTENT_R      /**/
+#define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
 
 /* HAS_GETLOGIN_R:
  *     This symbol, if defined, indicates that the getlogin_r routine
@@ -4602,8 +4790,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
  *     is defined.
  */
-#$d_getlogin_r HAS_GETLOGIN_R     /**/
-#define GETLOGIN_R_PROTO $getlogin_r_proto        /**/
+#$d_getlogin_r HAS_GETLOGIN_R  /**/
+#define GETLOGIN_R_PROTO $getlogin_r_proto     /**/
 
 /* HAS_GETNETBYADDR_R:
  *     This symbol, if defined, indicates that the getnetbyaddr_r routine
@@ -4615,8 +4803,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
  *     is defined.
  */
-#$d_getnetbyaddr_r HAS_GETNETBYADDR_R     /**/
-#define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto        /**/
+#$d_getnetbyaddr_r HAS_GETNETBYADDR_R  /**/
+#define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto     /**/
 
 /* HAS_GETNETBYNAME_R:
  *     This symbol, if defined, indicates that the getnetbyname_r routine
@@ -4628,8 +4816,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
  *     is defined.
  */
-#$d_getnetbyname_r HAS_GETNETBYNAME_R     /**/
-#define GETNETBYNAME_R_PROTO $getnetbyname_r_proto        /**/
+#$d_getnetbyname_r HAS_GETNETBYNAME_R  /**/
+#define GETNETBYNAME_R_PROTO $getnetbyname_r_proto     /**/
 
 /* HAS_GETNETENT_R:
  *     This symbol, if defined, indicates that the getnetent_r routine
@@ -4641,8 +4829,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
  *     is defined.
  */
-#$d_getnetent_r HAS_GETNETENT_R           /**/
-#define GETNETENT_R_PROTO $getnetent_r_proto      /**/
+#$d_getnetent_r HAS_GETNETENT_R        /**/
+#define GETNETENT_R_PROTO $getnetent_r_proto   /**/
 
 /* HAS_GETPROTOBYNAME_R:
  *     This symbol, if defined, indicates that the getprotobyname_r routine
@@ -4654,8 +4842,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
  *     is defined.
  */
-#$d_getprotobyname_r HAS_GETPROTOBYNAME_R         /**/
-#define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto    /**/
+#$d_getprotobyname_r HAS_GETPROTOBYNAME_R      /**/
+#define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
 
 /* HAS_GETPROTOBYNUMBER_R:
  *     This symbol, if defined, indicates that the getprotobynumber_r routine
@@ -4667,8 +4855,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
  *     is defined.
  */
-#$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R     /**/
-#define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto        /**/
+#$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R  /**/
+#define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto     /**/
 
 /* HAS_GETPROTOENT_R:
  *     This symbol, if defined, indicates that the getprotoent_r routine
@@ -4680,8 +4868,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
  *     is defined.
  */
-#$d_getprotoent_r HAS_GETPROTOENT_R       /**/
-#define GETPROTOENT_R_PROTO $getprotoent_r_proto          /**/
+#$d_getprotoent_r HAS_GETPROTOENT_R    /**/
+#define GETPROTOENT_R_PROTO $getprotoent_r_proto       /**/
 
 /* HAS_GETPWENT_R:
  *     This symbol, if defined, indicates that the getpwent_r routine
@@ -4693,8 +4881,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
  *     is defined.
  */
-#$d_getpwent_r HAS_GETPWENT_R     /**/
-#define GETPWENT_R_PROTO $getpwent_r_proto        /**/
+#$d_getpwent_r HAS_GETPWENT_R  /**/
+#define GETPWENT_R_PROTO $getpwent_r_proto     /**/
 
 /* HAS_GETPWNAM_R:
  *     This symbol, if defined, indicates that the getpwnam_r routine
@@ -4706,8 +4894,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
  *     is defined.
  */
-#$d_getpwnam_r HAS_GETPWNAM_R     /**/
-#define GETPWNAM_R_PROTO $getpwnam_r_proto        /**/
+#$d_getpwnam_r HAS_GETPWNAM_R  /**/
+#define GETPWNAM_R_PROTO $getpwnam_r_proto     /**/
 
 /* HAS_GETPWUID_R:
  *     This symbol, if defined, indicates that the getpwuid_r routine
@@ -4719,8 +4907,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
  *     is defined.
  */
-#$d_getpwuid_r HAS_GETPWUID_R     /**/
-#define GETPWUID_R_PROTO $getpwuid_r_proto        /**/
+#$d_getpwuid_r HAS_GETPWUID_R  /**/
+#define GETPWUID_R_PROTO $getpwuid_r_proto     /**/
 
 /* HAS_GETSERVBYNAME_R:
  *     This symbol, if defined, indicates that the getservbyname_r routine
@@ -4732,8 +4920,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
  *     is defined.
  */
-#$d_getservbyname_r HAS_GETSERVBYNAME_R           /**/
-#define GETSERVBYNAME_R_PROTO $getservbyname_r_proto      /**/
+#$d_getservbyname_r HAS_GETSERVBYNAME_R        /**/
+#define GETSERVBYNAME_R_PROTO $getservbyname_r_proto   /**/
 
 /* HAS_GETSERVBYPORT_R:
  *     This symbol, if defined, indicates that the getservbyport_r routine
@@ -4745,8 +4933,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
  *     is defined.
  */
-#$d_getservbyport_r HAS_GETSERVBYPORT_R           /**/
-#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto      /**/
+#$d_getservbyport_r HAS_GETSERVBYPORT_R        /**/
+#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto   /**/
 
 /* HAS_GETSERVENT_R:
  *     This symbol, if defined, indicates that the getservent_r routine
@@ -4758,8 +4946,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
  *     is defined.
  */
-#$d_getservent_r HAS_GETSERVENT_R         /**/
-#define GETSERVENT_R_PROTO $getservent_r_proto    /**/
+#$d_getservent_r HAS_GETSERVENT_R      /**/
+#define GETSERVENT_R_PROTO $getservent_r_proto /**/
 
 /* HAS_GETSPNAM_R:
  *     This symbol, if defined, indicates that the getspnam_r routine
@@ -4771,8 +4959,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
  *     is defined.
  */
-#$d_getspnam_r HAS_GETSPNAM_R     /**/
-#define GETSPNAM_R_PROTO $getspnam_r_proto        /**/
+#$d_getspnam_r HAS_GETSPNAM_R  /**/
+#define GETSPNAM_R_PROTO $getspnam_r_proto     /**/
 
 /* HAS_GMTIME_R:
  *     This symbol, if defined, indicates that the gmtime_r routine
@@ -4784,8 +4972,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
  *     is defined.
  */
-#$d_gmtime_r HAS_GMTIME_R         /**/
-#define GMTIME_R_PROTO $gmtime_r_proto    /**/
+#$d_gmtime_r HAS_GMTIME_R      /**/
+#define GMTIME_R_PROTO $gmtime_r_proto /**/
 
 /* HAS_LOCALECONV_L:
  *     This symbol, if defined, indicates that the localeconv_l routine is
@@ -4810,14 +4998,17 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 #define L_R_TZSET
 #endif
 
+/* L_R_TZSET:
+ *     If localtime_r() needs tzset, it is defined in this define
+ */
 /* LOCALTIME_R_PROTO:
  *     This symbol encodes the prototype of localtime_r.
  *     It is zero if d_localtime_r is undef, and one of the
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
  *     is defined.
  */
-#$d_localtime_r HAS_LOCALTIME_R           /**/
-#define LOCALTIME_R_PROTO $localtime_r_proto      /**/
+#$d_localtime_r HAS_LOCALTIME_R        /**/
+#define LOCALTIME_R_PROTO $localtime_r_proto   /**/
 
 /* HAS_MBRLEN:
  *     This symbol, if defined, indicates that the mbrlen routine is
@@ -4831,12 +5022,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_mbrtowc HAS_MBRTOWC        /**/
 
-/* HAS_THREAD_SAFE_NL_LANGINFO_L:
- *     This symbol, when defined, indicates presence of the nl_langinfo_l()
- *     function, and that it is thread-safe.
- */
-#$d_thread_safe_nl_langinfo_l HAS_THREAD_SAFE_NL_LANGINFO_L    /**/
-
 /* OLD_PTHREAD_CREATE_JOINABLE:
  *     This symbol, if defined, indicates how to create pthread
  *     in joinable (aka undetached) state.  NOTE: not defined
@@ -4882,8 +5067,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
  *     is defined.
  */
-#$d_random_r HAS_RANDOM_R         /**/
-#define RANDOM_R_PROTO $random_r_proto    /**/
+#$d_random_r HAS_RANDOM_R      /**/
+#define RANDOM_R_PROTO $random_r_proto /**/
 
 /* HAS_READDIR64_R:
  *     This symbol, if defined, indicates that the readdir64_r routine
@@ -4895,8 +5080,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
  *     is defined.
  */
-#$d_readdir64_r HAS_READDIR64_R           /**/
-#define READDIR64_R_PROTO $readdir64_r_proto      /**/
+#$d_readdir64_r HAS_READDIR64_R        /**/
+#define READDIR64_R_PROTO $readdir64_r_proto   /**/
 
 /* HAS_READDIR_R:
  *     This symbol, if defined, indicates that the readdir_r routine
@@ -4908,8 +5093,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
  *     is defined.
  */
-#$d_readdir_r HAS_READDIR_R       /**/
-#define READDIR_R_PROTO $readdir_r_proto          /**/
+#$d_readdir_r HAS_READDIR_R    /**/
+#define READDIR_R_PROTO $readdir_r_proto       /**/
 
 /* HAS_SETGRENT_R:
  *     This symbol, if defined, indicates that the setgrent_r routine
@@ -4921,8 +5106,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
  *     is defined.
  */
-#$d_setgrent_r HAS_SETGRENT_R     /**/
-#define SETGRENT_R_PROTO $setgrent_r_proto        /**/
+#$d_setgrent_r HAS_SETGRENT_R  /**/
+#define SETGRENT_R_PROTO $setgrent_r_proto     /**/
 
 /* HAS_SETHOSTENT_R:
  *     This symbol, if defined, indicates that the sethostent_r routine
@@ -4934,8 +5119,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
  *     is defined.
  */
-#$d_sethostent_r HAS_SETHOSTENT_R         /**/
-#define SETHOSTENT_R_PROTO $sethostent_r_proto    /**/
+#$d_sethostent_r HAS_SETHOSTENT_R      /**/
+#define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
 
 /* HAS_SETLOCALE_R:
  *     This symbol, if defined, indicates that the setlocale_r routine
@@ -4947,8 +5132,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
  *     is defined.
  */
-#$d_setlocale_r HAS_SETLOCALE_R           /**/
-#define SETLOCALE_R_PROTO $setlocale_r_proto      /**/
+#$d_setlocale_r HAS_SETLOCALE_R        /**/
+#define SETLOCALE_R_PROTO $setlocale_r_proto   /**/
 
 /* HAS_SETNETENT_R:
  *     This symbol, if defined, indicates that the setnetent_r routine
@@ -4960,8 +5145,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
  *     is defined.
  */
-#$d_setnetent_r HAS_SETNETENT_R           /**/
-#define SETNETENT_R_PROTO $setnetent_r_proto      /**/
+#$d_setnetent_r HAS_SETNETENT_R        /**/
+#define SETNETENT_R_PROTO $setnetent_r_proto   /**/
 
 /* HAS_SETPROTOENT_R:
  *     This symbol, if defined, indicates that the setprotoent_r routine
@@ -4973,8 +5158,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
  *     is defined.
  */
-#$d_setprotoent_r HAS_SETPROTOENT_R       /**/
-#define SETPROTOENT_R_PROTO $setprotoent_r_proto          /**/
+#$d_setprotoent_r HAS_SETPROTOENT_R    /**/
+#define SETPROTOENT_R_PROTO $setprotoent_r_proto       /**/
 
 /* HAS_SETPWENT_R:
  *     This symbol, if defined, indicates that the setpwent_r routine
@@ -4986,8 +5171,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
  *     is defined.
  */
-#$d_setpwent_r HAS_SETPWENT_R     /**/
-#define SETPWENT_R_PROTO $setpwent_r_proto        /**/
+#$d_setpwent_r HAS_SETPWENT_R  /**/
+#define SETPWENT_R_PROTO $setpwent_r_proto     /**/
 
 /* HAS_SETSERVENT_R:
  *     This symbol, if defined, indicates that the setservent_r routine
@@ -4999,8 +5184,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
  *     is defined.
  */
-#$d_setservent_r HAS_SETSERVENT_R         /**/
-#define SETSERVENT_R_PROTO $setservent_r_proto    /**/
+#$d_setservent_r HAS_SETSERVENT_R      /**/
+#define SETSERVENT_R_PROTO $setservent_r_proto /**/
 
 /* HAS_SRAND48_R:
  *     This symbol, if defined, indicates that the srand48_r routine
@@ -5012,8 +5197,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
  *     is defined.
  */
-#$d_srand48_r HAS_SRAND48_R       /**/
-#define SRAND48_R_PROTO $srand48_r_proto          /**/
+#$d_srand48_r HAS_SRAND48_R    /**/
+#define SRAND48_R_PROTO $srand48_r_proto       /**/
 
 /* HAS_SRANDOM_R:
  *     This symbol, if defined, indicates that the srandom_r routine
@@ -5025,8 +5210,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
  *     is defined.
  */
-#$d_srandom_r HAS_SRANDOM_R       /**/
-#define SRANDOM_R_PROTO $srandom_r_proto          /**/
+#$d_srandom_r HAS_SRANDOM_R    /**/
+#define SRANDOM_R_PROTO $srandom_r_proto       /**/
 
 /* HAS_STRERROR_R:
  *     This symbol, if defined, indicates that the strerror_r routine
@@ -5038,8 +5223,14 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
  *     is defined.
  */
-#$d_strerror_r HAS_STRERROR_R     /**/
-#define STRERROR_R_PROTO $strerror_r_proto        /**/
+#$d_strerror_r HAS_STRERROR_R  /**/
+#define STRERROR_R_PROTO $strerror_r_proto     /**/
+
+/* HAS_STRTOD_L:
+ *     This symbol, if defined, indicates that the strtod_l routine is
+ *     available to convert strings to long doubles.
+ */
+#$d_strtod_l HAS_STRTOD_L              /**/
 
 /* HAS_STRTOLD_L:
  *     This symbol, if defined, indicates that the strtold_l routine is
@@ -5047,6 +5238,18 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_strtold_l HAS_STRTOLD_L            /**/
 
+/* PERL_THREAD_LOCAL:
+ *     This symbol, if defined, gives a linkage specification for thread-local
+ *     storage. For example, for a C11 compiler this will be _Thread_local.
+ *     Beware, some compilers are sensitive to the C language standard they are
+ *     told to parse. For example, suncc defaults to C11, so our probe will
+ *     report that _Thread_local can be used. However, if the -std=c99 is later
+ *     added to the compiler flags, then _Thread_local will become a syntax
+ *     error. Hence it is important for these flags to be consistent between
+ *     probing and use.
+ */
+#$d_thread_local PERL_THREAD_LOCAL $perl_thread_local  /**/
+
 /* HAS_TMPNAM_R:
  *     This symbol, if defined, indicates that the tmpnam_r routine
  *     is available to tmpnam re-entrantly.
@@ -5057,8 +5260,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
  *     is defined.
  */
-#$d_tmpnam_r HAS_TMPNAM_R         /**/
-#define TMPNAM_R_PROTO $tmpnam_r_proto    /**/
+#$d_tmpnam_r HAS_TMPNAM_R      /**/
+#define TMPNAM_R_PROTO $tmpnam_r_proto /**/
 
 /* HAS_TTYNAME_R:
  *     This symbol, if defined, indicates that the ttyname_r routine
@@ -5070,18 +5273,24 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
  *     is defined.
  */
-#$d_ttyname_r HAS_TTYNAME_R       /**/
-#define TTYNAME_R_PROTO $ttyname_r_proto          /**/
+#$d_ttyname_r HAS_TTYNAME_R    /**/
+#define TTYNAME_R_PROTO $ttyname_r_proto       /**/
+
+/* HAS_WCRTOMB:
+ *     This symbol, if defined, indicates that the wcrtomb routine is
+ *     available to convert a wide character into a multi-byte character.
+ */
+#$d_wcrtomb HAS_WCRTOMB        /**/
 
 /* I_MACH_CTHREADS:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <mach/cthreads.h>.
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <mach/cthreads.h>.
  */
 #$i_machcthr   I_MACH_CTHREADS /**/
 
 /* I_PTHREAD:
- *     This symbol, if defined, indicates to the C program that it should
- *     include <pthread.h>.
+ *     This symbol, if defined, indicates to the C program that it should
+ *     include <pthread.h>.
  */
 #$i_pthread   I_PTHREAD        /**/
 
@@ -5089,10 +5298,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     This symbol, if defined, indicates that Perl should be built to
  *     use the interpreter-based threading implementation.
  */
-/* USE_5005THREADS:
- *     This symbol, if defined, indicates that Perl should be built to
- *     use the 5.005-based threading implementation.
- *     Only valid up to 5.8.x.
+/* USE_THREADS:
+ *     This symbol, if defined, indicates that Perl should
+ *     be built to use threads.  At present, it is a synonym for
+ *     and USE_ITHREADS, but eventually the source ought to be
+ *     changed to use this to mean _any_ threading implementation.
  */
 /* OLD_PTHREADS_API:
  *     This symbol, if defined, indicates that Perl should
@@ -5103,11 +5313,8 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     try to use the various _r versions of library functions.
  *     This is extremely experimental.
  */
-#$use5005threads       USE_5005THREADS         /**/
 #$useithreads  USE_ITHREADS            /**/
-#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
-#define                USE_THREADS             /* until src is revised*/
-#endif
+#$usethreads           USE_THREADS             /**/
 #$d_oldpthreads        OLD_PTHREADS_API                /**/
 #$usereentrant USE_REENTRANT_API       /**/
 
@@ -5125,7 +5332,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* HAS_TIMES:
  *     This symbol, if defined, indicates that the times() routine exists.
  *     Note that this became obsolete on some systems (SUNOS), which now
- * use getrusage(). It may be necessary to include <sys/times.h>.
+ *     use getrusage(). It may be necessary to include <sys/times.h>.
  */
 #$d_times HAS_TIMES            /**/
 
@@ -5139,7 +5346,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* Gid_t_f:
  *     This symbol defines the format string used for printing a Gid_t.
  */
-#define        Gid_t_f         $gidformat              /**/
+#define Gid_t_f                $gidformat              /**/
 
 /* Gid_t_sign:
  *     This symbol holds the signedness of a Gid_t.
@@ -5207,7 +5414,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
 /* Uid_t_f:
  *     This symbol defines the format string used for printing a Uid_t.
  */
-#define        Uid_t_f         $uidformat              /**/
+#define Uid_t_f                $uidformat              /**/
 
 /* Uid_t_sign:
  *     This symbol holds the signedness of a Uid_t.