X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/01f1810e38e276d92d051978043505422ee3211b..8d1c4423972d220897e8e728ad14d8a0db1146a4:/config_h.SH diff --git a/config_h.SH b/config_h.SH index 9f79f4d..42a9592 100755 --- a/config_h.SH +++ b/config_h.SH @@ -105,14 +105,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_cuserid HAS_CUSERID /**/ -/* HAS_DBL_DIG: - * This symbol, if defined, indicates that this system's - * or defines the symbol DBL_DIG, which is the number - * of significant digits in a double precision number. If this - * symbol is not defined, a guess of 15 is usually pretty good. - */ -#$d_dbl_dig HAS_DBL_DIG /**/ - /* HAS_DIFFTIME: * This symbol, if defined, indicates that the difftime routine is * available. @@ -389,7 +381,7 @@ sed <$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 */ @@ -447,12 +439,6 @@ sed <$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. @@ -521,18 +507,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_stat HAS_STAT /**/ -/* HAS_STRCHR: - * This symbol is defined to indicate that the strchr()/strrchr() - * functions are available for string searching. If not, try the - * index()/rindex() pair. - */ -/* HAS_INDEX: - * This symbol is defined to indicate that the index()/rindex() - * functions are available for string searching. - */ -#$d_strchr HAS_STRCHR /**/ -#$d_index HAS_INDEX /**/ - /* HAS_STRCOLL: * This symbol, if defined, indicates that the strcoll routine is * available to compare strings using collating information. @@ -681,68 +655,24 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$i_fcntl I_FCNTL /**/ -/* I_FLOAT: - * This symbol, if defined, indicates to the C program that it should - * include to get definition of symbols like DBL_MAX or - * DBL_MIN, i.e. machine dependent floating point values. - */ -#$i_float I_FLOAT /**/ - /* I_GDBM: * This symbol, if defined, indicates that exists and should * be included. */ #$i_gdbm I_GDBM /**/ -/* I_LIMITS: - * This symbol, if defined, indicates to the C program that it should - * include to get definition of symbols like WORD_BIT or - * LONG_MAX, i.e. machine dependant limitations. - */ -#$i_limits I_LIMITS /**/ - /* I_LOCALE: * This symbol, if defined, indicates to the C program that it should * include . */ #$i_locale I_LOCALE /**/ -/* I_MATH: - * This symbol, if defined, indicates to the C program that it should - * include . - */ -#$i_math I_MATH /**/ - -/* I_MEMORY: - * This symbol, if defined, indicates to the C program that it should - * include . - */ -#$i_memory I_MEMORY /**/ - /* I_NETINET_IN: * This symbol, if defined, indicates to the C program that it should * include . Otherwise, you may try . */ #$i_niin I_NETINET_IN /**/ -/* I_STDDEF: - * This symbol, if defined, indicates that exists and should - * be included. - */ -#$i_stddef I_STDDEF /**/ - -/* I_STDLIB: - * This symbol, if defined, indicates that exists and should - * be included. - */ -#$i_stdlib I_STDLIB /**/ - -/* I_STRING: - * This symbol, if defined, indicates to the C program that it should - * include (USG systems) instead of (BSD systems). - */ -#$i_string I_STRING /**/ - /* I_SYS_DIR: * This symbol, if defined, indicates to the C program that it should * include . @@ -839,14 +769,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$i_utime I_UTIME /**/ -/* I_VALUES: - * This symbol, if defined, indicates to the C program that it should - * include to get definition of symbols like MINFLOAT or - * MAXLONG, i.e. machine dependant limitations. Probably, you - * should use instead, if it is available. - */ -#$i_values I_VALUES /**/ - /* I_VFORK: * This symbol, if defined, indicates to the C program that it should * include vfork.h. @@ -915,14 +837,14 @@ sed <$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 . + * This symbol, if defined, indicates to the C program that it should + * include . */ #$i_sysaccess I_SYS_ACCESS /**/ /* I_SYS_SECURITY: - * This symbol, if defined, indicates to the C program that it should - * include . + * This symbol, if defined, indicates to the C program that it should + * include . */ #$i_syssecrt I_SYS_SECURITY /**/ @@ -930,7 +852,7 @@ sed <$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 @@ -1033,7 +955,7 @@ sed <$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 @@ -1185,12 +1107,12 @@ sed <$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 @@ -1215,7 +1137,7 @@ sed <$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 @@ -1228,8 +1150,8 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #define DOUBLESIZE $doublesize /**/ /* I_TIME: - * This symbol, if defined, indicates to the C program that it should - * include . + * This symbol is always defined, and indicates to the C program that + * it should include . */ /* I_SYS_TIME: * This symbol, if defined, indicates to the C program that it should @@ -1321,13 +1243,13 @@ sed <$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 @@ -1359,7 +1281,7 @@ sed <$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 @@ -1372,7 +1294,7 @@ sed <$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 /**/ @@ -1508,7 +1430,7 @@ sed <$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: @@ -1569,6 +1491,10 @@ sed <$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. + */ #$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/ #$d_attribute_format HASATTRIBUTE_FORMAT /**/ #$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/ @@ -1578,6 +1504,7 @@ sed <$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 /**/ /* HAS_BACKTRACE: * This symbol, if defined, indicates that the backtrace() routine is @@ -1586,17 +1513,6 @@ sed <$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. */ @@ -1851,6 +1767,8 @@ sed <$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. @@ -2028,6 +1946,10 @@ sed <$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. @@ -2052,6 +1974,7 @@ sed <$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 /**/ @@ -2063,27 +1986,15 @@ sed <$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_STRERROR: - * This symbol, if defined, indicates that the strerror routine is - * available to translate error numbers to strings. See the writeup - * of Strerror() in this file before you try to define your own. - */ /* HAS_SYS_ERRLIST: * This symbol, if defined, indicates that the sys_errlist array is * available to translate error numbers to strings. The extern int * sys_nerr gives the size of that table. */ -/* Strerror: - * This preprocessor symbol is defined as a macro if strerror() is - * not available to translate error numbers to strings but sys_errlist[] - * array is there. - */ -#$d_strerror HAS_STRERROR /**/ #$d_syserrlst HAS_SYS_ERRLIST /**/ -#define Strerror(e) $d_strerrm /* HAS_STRTOUL: * This symbol, if defined, indicates that the strtoul routine is @@ -2095,11 +2006,11 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol, if defined, indicates that the union semun is * defined by including . 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 @@ -2292,20 +2203,9 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #$i_termios I_TERMIOS /**/ #$i_sgtty I_SGTTY /**/ -/* I_STDARG: - * This symbol, if defined, indicates that exists and should - * be included. - */ -/* I_VARARGS: - * This symbol, if defined, indicates to the C program that it should - * include . - */ -#$i_stdarg I_STDARG /**/ -#$i_varargs I_VARARGS /**/ - /* 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. @@ -2323,24 +2223,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_mymalloc MYMALLOC /**/ -/* CAN_PROTOTYPE: - * If defined, this macro indicates that the C compiler can handle - * function prototypes. - */ -/* _: - * This macro is used to declare function parameters for folks who want - * to make declarations with prototypes using a different style than - * the above macros. Use double parentheses. For example: - * - * int main _((int argc, char *argv[])); - */ -#$prototype CAN_PROTOTYPE /**/ -#ifdef CAN_PROTOTYPE -#define _(args) args -#else -#define _(args) () -#endif - /* SH_PATH: * This symbol contains the full pathname to the shell used on this * on this system to execute Bourne shell scripts. Usually, this will be @@ -2427,6 +2309,12 @@ sed <$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. @@ -2556,7 +2444,13 @@ sed <$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 @@ -2708,22 +2602,22 @@ sed <$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 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 * - * 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 /**/ @@ -2756,7 +2650,7 @@ sed <$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 @@ -2927,8 +2821,8 @@ sed <$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 needs to be included, but sometimes + * This symbol will defined if the C compiler supports int64_t. + * Usually the needs to be included, but sometimes * is enough. */ #$d_int64_t HAS_INT64_T /**/ @@ -3013,7 +2907,7 @@ sed <$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 @@ -3129,6 +3023,9 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol, if defined, indicates that the memmem routine is * available to return a pointer to the start of the first occurance * 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 /**/ @@ -3145,6 +3042,13 @@ sed <$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 @@ -3209,6 +3113,10 @@ sed <$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. @@ -3220,6 +3128,7 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #$d_newlocale HAS_NEWLOCALE /**/ #$d_freelocale HAS_FREELOCALE /**/ #$d_uselocale HAS_USELOCALE /**/ +#$d_duplocale HAS_DUPLOCALE /**/ #$d_querylocale HAS_QUERYLOCALE /**/ #$i_xlocale I_XLOCALE /**/ @@ -3247,7 +3156,13 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* 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 @@ -3286,7 +3201,7 @@ sed <$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 @@ -3360,6 +3275,17 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$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. @@ -3391,6 +3317,17 @@ sed <$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. @@ -3411,14 +3348,6 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_socks5_init HAS_SOCKS5_INIT /**/ -/* SPRINTF_RETURNS_STRLEN: - * This variable defines whether sprintf returns the length of the string - * (as per the ANSI spec). Some C libraries retain compatibility with - * pre-ANSI C and return a pointer to the passed in buffer; for these - * this variable will be undef. - */ -#$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/ - /* HAS_SQRTL: * This symbol, if defined, indicates that the sqrtl routine is * available to do long double square roots. @@ -3585,6 +3514,18 @@ sed <$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. @@ -3681,14 +3622,8 @@ sed <$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 /**/ - -/* I_ASSERT: - * This symbol, if defined, indicates that exists and - * could be included by the C program to get the assert() macro. - */ -#$i_assert I_ASSERT /**/ +#$fflushNULL FFLUSH_NULL /**/ +#$fflushall FFLUSH_ALL /**/ /* I_BFD: * This symbol, if defined, indicates that exists and @@ -3727,10 +3662,10 @@ sed <$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 @@ -3757,8 +3692,8 @@ sed <$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 . + * This symbol, if defined, indicates to the C program that it should + * include . */ #$i_inttypes I_INTTYPES /**/ @@ -3787,8 +3722,8 @@ sed <$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 . + * This symbol, if defined, indicates to the C program that it should + * include . */ #$i_netinettcp I_NETINET_TCP /**/ @@ -3888,11 +3823,16 @@ sed <$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 - * is available for inclusion + * This symbol, if defined, indicates to the C program that + * is available for inclusion */ #$i_wchar I_WCHAR /**/ +/* I_WCTYPE: + * This symbol, if defined, indicates that exists. + */ +#$i_wctype I_WCTYPE /**/ + /* DOUBLEINFBYTES: * This symbol, if defined, is a comma-separated list of * hexadecimal bytes for the double precision infinity. @@ -4225,7 +4165,7 @@ sed <$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_INO_SIZE: * This variable contains the size of struct stat's st_ino in bytes. @@ -4303,11 +4243,11 @@ sed <$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_DTRACE: * This symbol, if defined, indicates that Perl should @@ -4327,7 +4267,7 @@ sed <$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 /**/ @@ -4470,7 +4410,7 @@ sed <$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 @@ -4496,8 +4436,8 @@ sed <$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 @@ -4509,8 +4449,8 @@ sed <$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 @@ -4522,8 +4462,8 @@ sed <$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 @@ -4535,8 +4475,8 @@ sed <$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 @@ -4548,8 +4488,8 @@ sed <$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 @@ -4561,8 +4501,8 @@ sed <$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 @@ -4574,8 +4514,8 @@ sed <$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 @@ -4587,8 +4527,8 @@ sed <$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 @@ -4600,8 +4540,8 @@ sed <$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 @@ -4613,8 +4553,8 @@ sed <$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 @@ -4626,8 +4566,8 @@ sed <$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 /**/ /* HAS_GETGRENT_R: * This symbol, if defined, indicates that the getgrent_r routine @@ -4639,8 +4579,8 @@ sed <$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 @@ -4652,8 +4592,8 @@ sed <$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 @@ -4665,8 +4605,8 @@ sed <$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 @@ -4678,8 +4618,8 @@ sed <$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 @@ -4691,8 +4631,8 @@ sed <$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 @@ -4704,8 +4644,8 @@ sed <$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 @@ -4717,8 +4657,8 @@ sed <$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 @@ -4730,8 +4670,8 @@ sed <$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 @@ -4743,8 +4683,8 @@ sed <$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 @@ -4756,8 +4696,8 @@ sed <$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 @@ -4769,8 +4709,8 @@ sed <$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 @@ -4782,8 +4722,8 @@ sed <$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 @@ -4795,8 +4735,8 @@ sed <$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 @@ -4808,8 +4748,8 @@ sed <$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 @@ -4821,8 +4761,8 @@ sed <$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 @@ -4834,8 +4774,8 @@ sed <$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 @@ -4847,8 +4787,8 @@ sed <$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 @@ -4860,8 +4800,8 @@ sed <$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 @@ -4873,8 +4813,8 @@ sed <$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 @@ -4886,8 +4826,8 @@ sed <$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 @@ -4899,8 +4839,8 @@ sed <$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 @@ -4931,8 +4871,8 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * 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 @@ -4997,8 +4937,8 @@ sed <$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 @@ -5010,8 +4950,8 @@ sed <$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 @@ -5023,8 +4963,8 @@ sed <$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 @@ -5036,8 +4976,8 @@ sed <$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 @@ -5049,8 +4989,8 @@ sed <$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 @@ -5062,8 +5002,8 @@ sed <$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 @@ -5075,8 +5015,8 @@ sed <$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 @@ -5088,8 +5028,8 @@ sed <$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 @@ -5101,8 +5041,8 @@ sed <$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 @@ -5114,8 +5054,8 @@ sed <$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 @@ -5127,8 +5067,8 @@ sed <$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 @@ -5140,8 +5080,8 @@ sed <$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 @@ -5153,8 +5093,14 @@ sed <$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 @@ -5172,8 +5118,8 @@ sed <$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 @@ -5185,18 +5131,24 @@ sed <$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 . + * This symbol, if defined, indicates to the C program that it should + * include . */ #$i_machcthr I_MACH_CTHREADS /**/ /* I_PTHREAD: - * This symbol, if defined, indicates to the C program that it should - * include . + * This symbol, if defined, indicates to the C program that it should + * include . */ #$i_pthread I_PTHREAD /**/ @@ -5204,10 +5156,11 @@ sed <$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 @@ -5218,11 +5171,8 @@ sed <$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 /**/ @@ -5240,7 +5190,7 @@ sed <$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 . + * use getrusage(). It may be necessary to include . */ #$d_times HAS_TIMES /**/