summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2019-04-26 10:36:38 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2019-04-26 10:36:38 +0200
commitab03c4a8a70cf30522ca9b06f32c64629c52dd40 (patch)
tree954d268a42c460c2caf2d164dc96fe3672b4b494 /config_h.SH
parent1e42beeaa8fdc6d3570ec0958344a0041d2b46dc (diff)
downloadperl-ab03c4a8a70cf30522ca9b06f32c64629c52dd40.tar.gz
Further integration from Configure works
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH3
1 files changed, 3 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index a24daa6f1f..ef135e2528 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -3011,6 +3011,9 @@ sed <<!GROK!THIS! >$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 /**/