-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code to replace usages of deprecated function FSEventStreamS…
…cheduleWithRunLoop with FSEventStreamSetDispatchQueue Update NEWS
- Loading branch information
1 parent
fa17fdc
commit 70fe7a5
Showing
6 changed files
with
38 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# -*- Autoconf -*- | ||
# | ||
# Copyright (C) 2014-2021 Enrico M. Crisostomo | ||
# Copyright (C) 2014-2022 Enrico M. Crisostomo | ||
# | ||
# This program is free software; you can redistribute it and/or modify it under | ||
# the terms of the GNU General Public License as published by the Free Software | ||
|
@@ -16,12 +16,12 @@ | |
# | ||
# Process this file with autoconf to produce a configure script. | ||
# | ||
dnl Copyright (C) 2014-2021 Enrico M. Crisostomo | ||
dnl Copyright (C) 2014-2022 Enrico M. Crisostomo | ||
AC_PREREQ([2.69]) | ||
m4_include([m4/fswatch_version.m4]) | ||
m4_include([m4/libfswatch_version.m4]) | ||
AC_INIT([fswatch], LIBFSWATCH_VERSION, [[email protected]], [], [https://github.com/emcrisostomo/fswatch]) | ||
AC_COPYRIGHT([2013-2021 (C) Enrico M. Crisostomo]) | ||
AC_COPYRIGHT([2013-2022 (C) Enrico M. Crisostomo]) | ||
AC_REVISION([$Revision: LIBFSWATCH_REVISION$]) | ||
AC_CONFIG_SRCDIR([fswatch/src/fswatch.cpp]) | ||
AC_CONFIG_AUX_DIR([config]) | ||
|
@@ -129,13 +129,13 @@ AS_VAR_SET_IF([IS_DARWIN], [ | |
AX_COMPARE_VERSION([${DARWIN_VER}], [ge], [11.0], [AC_DEFINE([HAVE_MACOS_GE_10_7], [1], ["macOS is at least the specified version"])]) | ||
AX_COMPARE_VERSION([${DARWIN_VER}], [ge], [13.0], [AC_DEFINE([HAVE_MACOS_GE_10_9], [1], ["macOS is at least the specified version"])]) | ||
AX_COMPARE_VERSION([${DARWIN_VER}], [ge], [14.0], [AC_DEFINE([HAVE_MACOS_GE_10_10], [1], ["macOS is at least the specified version"])]) | ||
# Check for macOS FSEvents. FSEvents added file events in a later release, so | ||
# this check must be performed separately. | ||
AC_CHECK_HEADERS([CoreServices/CoreServices.h]) | ||
AS_VAR_IF([ac_cv_header_CoreServices_CoreServices_h], ["yes"], [AX_FSEVENTS_HAVE_FILE_EVENTS]) | ||
]) | ||
|
||
# Check for macOS FSEvents. FSEvents added file events in a later release, so | ||
# this check must be performed separately. | ||
AC_CHECK_HEADERS([CoreServices/CoreServices.h]) | ||
AS_VAR_IF([ac_cv_header_CoreServices_CoreServices_h], ["yes"], [AX_FSEVENTS_HAVE_FILE_EVENTS]) | ||
AM_CONDITIONAL([USE_FSEVENTS], [test "x${ax_cv_fsevents_have_file_events}" = "xyes"]) | ||
AM_CONDITIONAL([USE_FSEVENTS], [test "x${ax_cv_fsevents_have_fseventstreamsetdispatchqueue}" = "xyes"]) | ||
|
||
# Check for kqueue: if the sys/event.h header is present, perform a check for | ||
# the kqueue and kevent functions. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters