mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-23 03:39:51 +00:00
10780e38c0
Currently the output from autoheader contains the definition HAVE_SYS_EVENTFD_H_ (not the trailing underscore) so the sys/eventfd.h header is never used. Remove a layer of quoting which seems to fix the issue.
23 lines
601 B
Plaintext
23 lines
601 B
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_INIT([libkqueue], [2.0.3])
|
|
LT_INIT
|
|
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
|
AC_CONFIG_SRCDIR([configure.ac])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
AC_PROG_CC
|
|
|
|
|
|
AC_CHECK_HEADER([sys/event.h])
|
|
AC_CHECK_DECL([EPOLLRDHUP], [], [], [[#include <sys/epoll.h>]])
|
|
AC_CHECK_DECL([ppoll], [], [], [[
|
|
#define _GNU_SOURCE
|
|
#include <poll.h>
|
|
]])
|
|
AC_CHECK_HEADERS([sys/epoll.h sys/inotify.h sys/signalfd.h sys/timerfd.h sys/eventfd.h])
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile libkqueue.pc])
|
|
AC_OUTPUT
|