2022-05-13 20:08:20 +08:00
|
|
|
|
dnl
|
|
|
|
|
dnl Select/poll stuff for CUPS.
|
|
|
|
|
dnl
|
2023-01-11 16:57:48 +08:00
|
|
|
|
dnl Copyright © 2021-2022 by OpenPrinting.
|
|
|
|
|
dnl Copyright © 2007-2011 by Apple Inc.
|
|
|
|
|
dnl Copyright © 2006 by Easy Software Products, all rights reserved.
|
2022-05-13 20:08:20 +08:00
|
|
|
|
dnl
|
2023-01-11 16:57:48 +08:00
|
|
|
|
dnl Licensed under Apache License v2.0. See the file "LICENSE" for more
|
|
|
|
|
dnl information.
|
2022-05-13 20:08:20 +08:00
|
|
|
|
dnl
|
|
|
|
|
|
2023-01-11 16:57:48 +08:00
|
|
|
|
AC_CHECK_FUNC([poll], [
|
|
|
|
|
AC_DEFINE([HAVE_POLL], [1], [Have poll function?])
|
|
|
|
|
])
|
|
|
|
|
AC_CHECK_FUNC([epoll_create], [
|
|
|
|
|
AC_DEFINE([HAVE_EPOLL], [1], [Have epoll function?])
|
|
|
|
|
])
|
|
|
|
|
AC_CHECK_FUNC([kqueue], [
|
|
|
|
|
AC_DEFINE([HAVE_KQUEUE], [1], [Have kqueue function?])
|
|
|
|
|
])
|