From ab03c4a8a70cf30522ca9b06f32c64629c52dd40 Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Fri, 26 Apr 2019 10:36:38 +0200 Subject: Further integration from Configure works --- config_h.SH | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config_h.SH') 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 <$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 /**/ -- cgit v1.2.1