summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-10-18 22:42:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-10-18 23:03:27 +0200
commita34c7ce7546f39f24692925d66c2f42324dd94e9 (patch)
tree126b447462d954df46338a1a98986354fdbf1aea
parent97dfe38641f6b36f4bc83ec001f13f7040513c46 (diff)
downloadgnurl-a34c7ce7546f39f24692925d66c2f42324dd94e9.tar.gz
gnurl-a34c7ce7546f39f24692925d66c2f42324dd94e9.tar.bz2
gnurl-a34c7ce7546f39f24692925d66c2f42324dd94e9.zip
configure/CURL_CHECK_FUNC_POLL: disable poll completely on mac
... so that the same libcurl build easier can run on any version. Follow-up to issue #1057
-rw-r--r--m4/curl-functions.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index e1a1e32b3..dde7fe2ea 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -4739,12 +4739,15 @@ AC_DEFUN([CURL_CHECK_FUNC_POLL], [
tst_allow_poll="unknown"
#
case $host_os in
- darwin[[123456789]].*|darwin10.*|darwin11.*|darwin12.*|interix*)
+ darwin*|interix*)
dnl poll() does not work on these platforms
dnl Interix: "does provide poll(), but the implementing developer must
dnl have been in a bad mood, because poll() only works on the /proc
dnl filesystem here"
+ dnl macOS: poll() first didn't exist, then was broken until fixed in 10.9
+ dnl only to break again in 10.12.
curl_disallow_poll="yes"
+ tst_compi_poll="no"
;;
esac
#