]> granicus.if.org Git - curl/commit
configure: check for __builtin_available() availability (#1788)
authorNick Zitzmann <nickzman@gmail.com>
Wed, 16 Aug 2017 17:24:39 +0000 (12:24 -0500)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2017 17:24:39 +0000 (12:24 -0500)
commit870d849d48a26b8eeb0d4bb1f4655367a4a191ca
tree48415a008b75a845d0dc8f03c71b66fa4e59d299
parentca9630f12843f0bb0baa3ae78491e07431ccf5de
configure: check for __builtin_available() availability (#1788)

This change does two things:
1. It un-breaks the build in Xcode 9.0. (Xcode 9.0 is currently
   failing trying to compile connectx() in lib/connect.c.)
2. It finally weak-links the connectx() function, and falls back on
   connect() when run on older operating systems.
acinclude.m4 [changed mode: 0644->0755]
configure.ac [changed mode: 0644->0755]
lib/connect.c [changed mode: 0644->0755]