summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-12-11 17:15:16 -0800
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-12-11 17:15:16 -0800
commit58c96da9283d3c2f65c818bd952f611ec4e4dad0 (patch)
tree6bea017b217af5091d067acde8b38e72b4793000
parent1e746fd89ae93965183c759b969ff9f4d5dbc9d8 (diff)
darwin: xnu doesn't support poll on ttys on the master side.
<rdar://problem/7360546> Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index f535a06..67d5a95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,9 +121,8 @@ AC_PREREQ([2.59c], [], [AC_SUBST([htmldir], [m4_ifset([AC_PACKAGE_TARNAME],
XCB_CHECK_DOXYGEN()
case $host_os in
- # darwin has poll() but can't be used to poll character devices
- # darwin10 (SnowLeopard) should be tested as well once released
- darwin7*) ;; darwin8*) ;; darwin9*) ;;
+ # darwin has poll() but can't be used to poll character devices (atleast through SnowLeopard)
+ darwin*)
*)
AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
;;