]> git.ipfire.org Git - thirdparty/cups.git/blob - config-scripts/cups-poll.m4
6dd8d9587634fa37279e38b144ec144e679bb46f
[thirdparty/cups.git] / config-scripts / cups-poll.m4
1 dnl
2 dnl Select/poll stuff for CUPS.
3 dnl
4 dnl Copyright 2007-2011 by Apple Inc.
5 dnl Copyright 2006 by Easy Software Products, all rights reserved.
6 dnl
7 dnl These coded instructions, statements, and computer programs are the
8 dnl property of Apple Inc. and are protected by Federal copyright
9 dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 dnl which should have been included with this file. If this file is
11 dnl missing or damaged, see the license at "http://www.cups.org/".
12 dnl
13
14 AC_CHECK_FUNC(poll, AC_DEFINE(HAVE_POLL))
15 AC_CHECK_FUNC(epoll_create, AC_DEFINE(HAVE_EPOLL))
16 AC_CHECK_FUNC(kqueue, AC_DEFINE(HAVE_KQUEUE))