on 3feeec2 help sign in
streamly/configure.ac
27 lines 1.1 kB history raw
1# Input file for autoconf to generate the configure script.
3# See https://www.gnu.org/software/autoconf/manual/autoconf.html for help on
4# the macros used in this file.
6AC_INIT([streamly], [0.7.2], [streamly@composewell.com], [streamly])
8# To suppress "WARNING: unrecognized options: --with-compiler"
9AC_ARG_WITH([compiler], [GHC])
11# XXX Do this only for linux
12AC_CHECK_DECLS([IN_MASK_CREATE],[],[],[#include <sys/inotify.h>])
13AC_CHECK_DECLS([IN_EXCL_UNLINK],[],[],[#include <sys/inotify.h>])
15# XXX Do this only for macOS
16AC_CHECK_DECLS([kFSEventStreamCreateFlagFileEvents],[],[],[#include <CoreServices/CoreServices.h>])
17AC_CHECK_DECLS([kFSEventStreamCreateFlagFullHistory],[],[],[#include <CoreServices/CoreServices.h>])
18AC_CHECK_DECLS([kFSEventStreamEventFlagItemCloned],[],[],[#include <CoreServices/CoreServices.h>])
19AC_CHECK_DECLS([kFSEventStreamEventFlagItemIsHardlink],[],[],[#include <CoreServices/CoreServices.h>])
21# Check headers and functions required
22AC_CHECK_HEADERS([time.h])
23AC_CHECK_FUNCS([clock_gettime])
25# Output
26AC_CONFIG_HEADERS([src/config.h])
27AC_OUTPUT