darling-libkqueue/configure.ac
Will Newton 10780e38c0 configure.ac: Fix quoting on AC_CHECK_HEADERS
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.
2014-08-20 15:06:01 +01:00

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