Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
ddb35cf2
Commit
ddb35cf2
authored
Dec 22, 2008
by
Mark Andrews
Browse files
2521. [bug] Improve epoll cross compilation support. [RT #19047]
parent
4aa174dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
ddb35cf2
2521. [bug] Improve epoll cross compilation support. [RT #19047]
2520. [bug] Update xml statistics version number to 2.0 as change
#2388 made the schema incompatible to the previous
version. [RT #19080]
...
...
configure.in
View file @
ddb35cf2
...
...
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.46
1
$)
AC_REVISION($Revision: 1.46
2
$)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
...
...
@@ -367,10 +367,10 @@ AC_SUBST(ISC_PLATFORM_HAVEKQUEUE)
# so we need to try running the code, not just test its existence.
#
AC_ARG_ENABLE(epoll,
[ --enable-epoll use Linux epoll when available [[default=
yes
]]],
want_epoll="$enableval", want_epoll="
yes
")
[ --enable-epoll use Linux epoll when available [[default=
auto
]]],
want_epoll="$enableval", want_epoll="
auto
")
case $want_epoll in
yes
)
auto
)
AC_MSG_CHECKING(epoll support)
AC_TRY_RUN([
#include <sys/epoll.h>
...
...
@@ -385,6 +385,9 @@ int main() {
[AC_MSG_RESULT(no)
ISC_PLATFORM_HAVEEPOLL="#undef ISC_PLATFORM_HAVEEPOLL"])
;;
yes)
ISC_PLATFORM_HAVEEPOLL="#define ISC_PLATFORM_HAVEEPOLL 1"
;;
*)
ISC_PLATFORM_HAVEEPOLL="#undef ISC_PLATFORM_HAVEEPOLL"
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment