-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
23 lines (17 loc) · 1021 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Input file for autoconf to generate the configure script.
# See https://www.gnu.org/software/autoconf/manual/autoconf.html for help on
# the macros used in this file.
AC_INIT([streamly], [0.11.0], [[email protected]], [streamly], [https://streamly.composewell.com])
# To suppress "WARNING: unrecognized options: --with-compiler"
AC_ARG_WITH([compiler], [GHC])
# XXX Do this only for linux
AC_CHECK_DECLS([IN_MASK_CREATE],[],[],[#include <sys/inotify.h>])
AC_CHECK_DECLS([IN_EXCL_UNLINK],[],[],[#include <sys/inotify.h>])
# XXX Do this only for macOS
AC_CHECK_DECLS([kFSEventStreamCreateFlagFileEvents],[],[],[#include <CoreServices/CoreServices.h>])
AC_CHECK_DECLS([kFSEventStreamCreateFlagFullHistory],[],[],[#include <CoreServices/CoreServices.h>])
AC_CHECK_DECLS([kFSEventStreamEventFlagItemCloned],[],[],[#include <CoreServices/CoreServices.h>])
AC_CHECK_DECLS([kFSEventStreamEventFlagItemIsHardlink],[],[],[#include <CoreServices/CoreServices.h>])
# Output
AC_CONFIG_HEADERS([src/config.h])
AC_OUTPUT