mirror of https://gitee.com/openkylin/cups.git
21 lines
558 B
Plaintext
21 lines
558 B
Plaintext
dnl
|
||
dnl Select/poll stuff for CUPS.
|
||
dnl
|
||
dnl Copyright © 2021-2023 by OpenPrinting.
|
||
dnl Copyright © 2007-2011 by Apple Inc.
|
||
dnl Copyright © 2006 by Easy Software Products, all rights reserved.
|
||
dnl
|
||
dnl Licensed under Apache License v2.0. See the file "LICENSE" for more
|
||
dnl information.
|
||
dnl
|
||
|
||
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?])
|
||
])
|