Skip to content

Commit e26b99e

Browse files
committed
curl.sh: enable GSS-API on macOS
Also add `-nogss` option to disable it.
1 parent 8fd0b57 commit e26b99e

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ asyn-rr | ✓ | ✓ | ✓ | | |
8585
AsynchDNS | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
8686
brotli | ✓ | ✓ | ✓ | ✓ | | | | |
8787
CAcert | ✓ | ✓ | | ✓¹ | ✓¹ | ✓¹ | ✓¹ | ✓¹ |
88+
GSS-API | | | ✓ | ✓¹ | | | | |
8889
HSTS | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
8990
HTTP2 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
9091
HTTP3 | ✓ | ✓ | ✓ | | | | | |

_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o p
4747
# nohttp build without HTTP and proxy support
4848
# nocookie build without cookie support
4949
# noproxy build without proxy support
50+
# nogss build without GSS-API support (for mac target. Other targets do not have it enabled)
5051
# imap build with IMAP protocol (for zero, bldtst or pico build)
5152
# awslc build with AWS-LC [EXPERIMENTAL]
5253
# boringssl build with BoringSSL [EXPERIMENTAL]

curl.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ _VER="$1"
9494

9595
if [[ ! "${_CONFIG}" =~ (zero|bldtst|pico|nano|micro|mini) ]]; then
9696
options+=' -DUSE_SSLS_EXPORT=ON'
97+
98+
if [ "${_OS}" = 'mac' ] && [[ "${_CONFIG}" != *'nogss'* ]]; then
99+
options+=' -DCURL_USE_GSSAPI=ON'
100+
fi
97101
fi
98102

99103
# for H2/H3

0 commit comments

Comments
 (0)