Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
6d42b669
Commit
6d42b669
authored
Oct 09, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples: Disable tiny-nghttpd if timerfd_create is not available
parent
bcbb2e86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
configure.ac
configure.ac
+9
-1
examples/Makefile.am
examples/Makefile.am
+2
-2
No files found.
configure.ac
View file @
6d42b669
...
...
@@ -477,10 +477,18 @@ AC_CHECK_FUNCS([ \
timegm \
])
# timerfd_create was added in linux kernel 2.6.25
AC_CHECK_FUNC([timerfd_create],
[have_timerfd_create=yes], [have_timerfd_create=no])
# Checks for epoll availability, primarily for examples/tiny-nghttpd
AX_HAVE_EPOLL([have_epoll=yes], [have_epoll=no])
AM_CONDITIONAL([HAVE_EPOLL], [ test "x${have_epoll}" = "xyes" ])
AM_CONDITIONAL([ENABLE_TINY_NGHTTPD],
[ test "x${have_epoll}" = "xyes" &&
test "x${have_timerfd_create}" = "xyes"])
dnl Windows library for winsock2
case "${host}" in
...
...
examples/Makefile.am
View file @
6d42b669
...
...
@@ -49,13 +49,13 @@ libevent_server_SOURCES = libevent-server.c
deflate_SOURCES
=
deflate.c
if
HAVE_EPOLL
if
ENABLE_TINY_NGHTTPD
noinst_PROGRAMS
+=
tiny-nghttpd
tiny_nghttpd_SOURCES
=
tiny-nghttpd.c
endif
#
HAVE_EPOLL
endif
#
ENABLE_TINY_NGHTTPD
if
ENABLE_ASIO_LIB
...
...
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