fixed the pattern for avoiding the poll check

added some comments about known problems with poll on darwin
This commit is contained in:
Daniel Stenberg 2010-03-23 22:50:53 +01:00
parent f314f3b5fd
commit 05f9fb878e

View File

@ -230,11 +230,16 @@ case $host in
esac
case $host in
darwin*|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 Mac OS X's poll has funny behaviors, like:
dnl not being able to do poll on no fildescriptors (10.3?)
dnl not being able to poll on some files (like anything in /dev)
dnl not having reliable timeout support
dnl inconsistent return of POLLHUP where other implementations give POLLIN
AC_MSG_NOTICE([poll use is disabled on this platform])
;;
*)