projects
/
platform
/
upstream
/
libxcb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e2e87d
)
darwin: Don't use poll() on versions of darwin before darwin10
author
Jeremy Huddleston
<jeremyhu@freedesktop.org>
Thu, 9 Apr 2009 12:12:02 +0000
(
05:12
-0700)
committer
Jeremy Huddleston
<jeremyhu@freedesktop.org>
Thu, 9 Apr 2009 12:12:02 +0000
(
05:12
-0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
46c4611
..
a63f71f
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-116,7
+116,14
@@
AC_PREREQ([2.59c], [], [AC_SUBST([htmldir], [m4_ifset([AC_PACKAGE_TARNAME],
XCB_CHECK_DOXYGEN()
-AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
+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*) ;;
+ *)
+ AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
+ ;;
+esac
XCB_EXTENSION(Composite, "yes")
XCB_EXTENSION(Damage, "yes")