From: Viktor Szakats Date: Sat, 13 Apr 2024 09:51:36 +0000 (+0000) Subject: openvms: look for `USE_IPV6` in `config.h` (was: `ENABLE_IPV6`) X-Git-Tag: curl-8_8_0~217 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09f0390e1164567141fc801fe00a6cd5f079dbab;p=thirdparty%2Fcurl.git openvms: look for `USE_IPV6` in `config.h` (was: `ENABLE_IPV6`) The OpenVMS script `config_h.com` is parsing the config header generated by autotools. Let's make it look for the macro name we now use universally across the codebase. Follow-up to e411c98f702f0fb38dceec95e7507ef15a00d12c #13349 Closes #13360 --- diff --git a/packages/vms/config_h.com b/packages/vms/config_h.com index 6378802ad8..44cb067072 100644 --- a/packages/vms/config_h.com +++ b/packages/vms/config_h.com @@ -847,7 +847,7 @@ $ goto cfgh_in_loop1 $ endif $! $ if (key2a .eqs. "HAVE") .or. (key2a .eqs. "STAT") .or. - - (key2 .eqs. "ENABLE_IPV6") .or. (key2b .eqs. "LDAP") + (key2 .eqs. "USE_IPV6") .or. (key2b .eqs. "LDAP") $ then $! $! Process extra underscores @@ -866,7 +866,7 @@ $ double_under = 1 $ endif $ endif $! -$ if (key2_h .eqs. "_H") .or. (key2 .eqs. "ENABLE_IPV6") .or. - +$ if (key2_h .eqs. "_H") .or. (key2 .eqs. "USE_IPV6") .or. - (key2b .eqs. "LDAP") $ then $! @@ -892,7 +892,7 @@ $ endif $! $! And of course what's life with out some special cases $!-------------------------------------------------------------------- -$ if key2 .eqs. "ENABLE_IPV6" +$ if key2 .eqs. "USE_IPV6" $ then $ headf = "in6" $ endif