diff options
author | Derek Kraan <derek@kraan.dev> | 2023-02-20 11:13:40 +0100 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2023-04-03 14:19:45 +0200 |
commit | 9ccd06468fb7291b2fb409d5aa27f480e550c078 (patch) | |
tree | 1951f8a388d4dc123611bdfec09d02fbc459db8e /erts/configure | |
parent | 6ff00609164d0b12292bbbe703bf4b1f62f68b59 (diff) | |
download | erlang-9ccd06468fb7291b2fb409d5aa27f480e550c078.tar.gz |
erts: Enable decoding URIs with ipv6 address in host.
Example:
Packet = <<"GET http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:4000/dir ...>>
erlang:decode_packet(http_bin, Packet, [])
Diffstat (limited to 'erts/configure')
-rwxr-xr-x | erts/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/configure b/erts/configure index 70f94b2876..bc65747216 100755 --- a/erts/configure +++ b/erts/configure @@ -20009,6 +20009,12 @@ then : printf "%s\n" "#define HAVE_MEMCPY 1" >>confdefs.h fi +ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr" +if test "x$ac_cv_func_memrchr" = xyes +then : + printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h + +fi ac_fn_c_check_func "$LINENO" "mallopt" "ac_cv_func_mallopt" if test "x$ac_cv_func_mallopt" = xyes then : |