mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
configure: catch Apple in more target triplets
Before this patch, only these triplets were considered Apple: `<cpu>-apple-darwin` After this patch, these are also considered Apple: `<cpu>-apple-(ios*|tvos*|visionos*|watchos*|<ETC>)` `$host_os` (the last third of the triplet) still has a valid use to differentiate between OS flavours, though for now this isn't used, aligning with CMake. Closes #14728
This commit is contained in:
parent
9f56bb608e
commit
30ab1133c4
5 changed files with 20 additions and 19 deletions
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
AC_DEFUN([CURL_DARWIN_SYSTEMCONFIGURATION], [
|
||||
AC_MSG_CHECKING([whether to link macOS CoreFoundation, CoreServices, and SystemConfiguration frameworks])
|
||||
case $host_os in
|
||||
darwin*)
|
||||
case $host in
|
||||
*-apple-*)
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
#include <sys/types.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue