Skip to content

Commit dfe7b8b

Browse files
committed
Merge branch 'linux-port-hdd' of github.ibm.com:ibmswift/swift-corelibs-libdispatch into linux-port-hdd
2 parents e25ec26 + 6293e78 commit dfe7b8b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
By submitting a pull request, you represent that you have the right to license
2+
your contribution to Apple and the community, and agree by submitting the patch
3+
that your contributions are licensed under the [Swift
4+
license](https://swift.org/LICENSE.txt).
5+
6+
---
7+
8+
Before submitting the pull request, please make sure you have tested your
9+
changes and that they follow the Swift project [guidelines for contributing
10+
code](https://swift.org/contributing/#contributing-code).

configure.ac

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,14 @@ AC_SEARCH_LIBS(pthread_create, pthread)
137137
# Prefer native kqueue(2); otherwise use libkqueue if present.
138138
#
139139
AC_CHECK_HEADER(sys/event.h, [],
140-
[PKG_CHECK_MODULES(KQUEUE, libkqueue)]
140+
[PKG_CHECK_MODULES(KQUEUE, libkqueue)
141+
AC_SEARCH_LIBS(kevent, kqueue)
142+
AC_SEARCH_LIBS(kevent64, kqueue,
143+
[AC_DEFINE(HAVE_KEVENT64, 1, [Define if kevent64 is present])],
144+
[AC_DEFINE(HAVE_KEVENT64, 0, [Define if kevent64 is present])])]
141145
)
142146

147+
143148
#
144149
# Checks for header files.
145150
#

0 commit comments

Comments
 (0)