Skip to content

configure says IPv6 enabled when it isn't #4555

@MarcelRaad

Description

@MarcelRaad

I did this

./buildconf
./configure --enable-debug --with-winssl --enable-alt-svc

configure says:

IPv6:             enabled

because of

curl/configure.ac

Line 1231 in 2839cfd

curl_ipv6_msg="enabled"
.

But curl_config.h says:

/* Define if you want to enable IPv6 support */
/* #undef ENABLE_IPV6 */

because of

curl/configure.ac

Line 3968 in 2839cfd

if test "$curl_cv_func_getaddrinfo" = "yes"; then
.

I expected the following

The output of configure to match ENABLE_IPV6. And probably ENABLE_IPV6 being independent of HAVE_GETADDRINFO.

curl/libcurl version

2839cfd

curl 7.67.0-DEV (i686-pc-mingw32) libcurl/7.67.0-DEV Schannel zlib/1.2.11
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: alt-svc AsynchDNS Debug Kerberos Largefile libz NTLM SPNEGO SSL SSPI TrackMemory

operating system

Classic MinGW with MSYS 1.0 on Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions