fixed the pattern for avoiding the poll check
added some comments about known problems with poll on darwin
Этот коммит содержится в:
родитель
f314f3b5fd
Коммит
05f9fb878e
@ -230,11 +230,16 @@ case $host in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
case $host in
|
case $host in
|
||||||
darwin*|interix*)
|
*darwin*|*interix*)
|
||||||
dnl poll() does not work on these platforms
|
dnl poll() does not work on these platforms
|
||||||
dnl Interix: "does provide poll(), but the implementing developer must
|
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 have been in a bad mood, because poll() only works on the /proc
|
||||||
dnl filesystem here"
|
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])
|
AC_MSG_NOTICE([poll use is disabled on this platform])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user