mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
configure: limit __builtin_available
test to Darwin
This feature test always fails on non-Apple systems. (For Apple targets
it's supported by llvm and Apple clang.)
Syncs behaviour with CMake.
Follow-up to cfd6f43d6c
#14127
Cherry-picked from #14097
Closes #14196
This commit is contained in:
parent
6821e54c08
commit
c879554b7d
@ -597,7 +597,11 @@ CURL_CHECK_WIN32_LARGEFILE
|
||||
CURL_CHECK_WIN32_CRYPTO
|
||||
|
||||
CURL_DARWIN_CFLAGS
|
||||
CURL_SUPPORTS_BUILTIN_AVAILABLE
|
||||
case $host_os in
|
||||
darwin*)
|
||||
CURL_SUPPORTS_BUILTIN_AVAILABLE
|
||||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL([HAVE_WINDRES],
|
||||
[test "$curl_cv_native_windows" = "yes" && test -n "${RC}"])
|
||||
|
Loading…
Reference in New Issue
Block a user