mirror of
https://github.com/composewell/streamly.git
synced 2024-11-09 17:55:23 +03:00
24 lines
1020 B
Plaintext
24 lines
1020 B
Plaintext
# 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.9.0], [streamly@composewell.com], [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
|