cups/config-scripts/cups-poll.m4

21 lines
558 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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?])
])