diff options
author | Michael Ost <most@museresearch.com> | 2009-03-30 11:09:32 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2009-03-30 11:09:32 +0200 |
commit | f916062edf0e04cd4e0a78f6975892f59fae3b60 (patch) | |
tree | 990c261bc6ea3bed19185264e6fec98624ed3e53 /configure.ac | |
parent | beccb0be15f5699c942a0af33307d9e4bf797e2a (diff) |
use poll() instead of select() when available
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6fe3e57..46c4611 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,8 @@ 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])], ) + XCB_EXTENSION(Composite, "yes") XCB_EXTENSION(Damage, "yes") XCB_EXTENSION(DPMS, "yes") |