X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/2e3ef32f4acc106de6ae8170099f09a36d4ef490..b61e55cb1695ff940310c75f08e41cfbfc16d73c:/config_h.SH diff --git a/config_h.SH b/config_h.SH index f26ed2f..e776983 100755 --- a/config_h.SH +++ b/config_h.SH @@ -3011,6 +3011,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 /**/ @@ -3501,13 +3504,13 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un /* HAS_TOWLOWER: * This symbol, if defined, indicates that the towlower () routine is - * available to do string concatenation. + * available to do case conversion. */ #$d_towlower HAS_TOWLOWER /**/ /* HAS_TOWUPPER: * This symbol, if defined, indicates that the towupper () routine is - * available to do string concatenation. + * available to do case conversion. */ #$d_towupper HAS_TOWUPPER /**/ @@ -4228,11 +4231,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