]> git.ipfire.org Git - thirdparty/curl.git/commit
build: prefer `USE_IPV6` macro internally (was: `ENABLE_IPV6`)
authorViktor Szakats <commit@vsz.me>
Thu, 11 Apr 2024 12:01:58 +0000 (12:01 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 13 Apr 2024 08:33:26 +0000 (08:33 +0000)
commite411c98f702f0fb38dceec95e7507ef15a00d12c
tree58fc3be2d7543ebfa0e4bb1168654c6bf211cb00
parentde66e8ad38ba2fccbe965fdea909c7123c99315d
build: prefer `USE_IPV6` macro internally (was: `ENABLE_IPV6`)

Before this patch, two macros were used to guard IPv6 features in curl
sources: `ENABLE_IPV6` and `USE_IPV6`. This patch makes the source use
the latter for consistency with other similar switches.

`-DENABLE_IPV6` remains accepted for compatibility as a synonym for
`-DUSE_IPV6`, when passed to the compiler.

`ENABLE_IPV6` also remains the name of the CMake and `Makefile.vc`
options to control this feature.

Closes #13349
47 files changed:
CMakeLists.txt
configure.ac
lib/Makefile.mk
lib/altsvc.c
lib/asyn-ares.c
lib/asyn-thread.c
lib/cf-socket.c
lib/config-os400.h
lib/config-plan9.h
lib/config-riscos.h
lib/config-win32.h
lib/conncache.c
lib/connect.c
lib/curl_addrinfo.c
lib/curl_config.h.cmake
lib/curl_setup.h
lib/doh.c
lib/ftp.c
lib/hostip.c
lib/hostip.h
lib/if2ip.c
lib/if2ip.h
lib/inet_ntop.c
lib/inet_pton.c
lib/noproxy.c
lib/setopt.c
lib/setup-vms.h
lib/sockaddr.h
lib/socks.c
lib/url.c
lib/urlapi.c
lib/urldata.h
lib/version.c
lib/vquic/curl_osslq.c
lib/vtls/gtls.c
lib/vtls/openssl.c
lib/vtls/rustls.c
lib/vtls/vtls.c
tests/server/mqttd.c
tests/server/rtspd.c
tests/server/server_sockaddr.h
tests/server/sockfilt.c
tests/server/socksd.c
tests/server/sws.c
tests/server/tftpd.c
tests/unit/unit1607.c
tests/unit/unit2600.c