Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
d07ddb1b
Unverified
Commit
d07ddb1b
authored
Jun 03, 2018
by
Simon Giesecke
Committed by
GitHub
Jun 03, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3153 from pijyoi/autoconf_wepoll
Problem: not able to use wepoll in configure script
parents
c76ac547
2336e1f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
Makefile.am
Makefile.am
+5
-0
acinclude.m4
acinclude.m4
+9
-1
configure.ac
configure.ac
+2
-0
No files found.
Makefile.am
View file @
d07ddb1b
...
@@ -257,6 +257,11 @@ src_libzmq_la_SOURCES = \
...
@@ -257,6 +257,11 @@ src_libzmq_la_SOURCES = \
src/zap_client.hpp
\
src/zap_client.hpp
\
src/zmq_draft.h
src/zmq_draft.h
if
USE_WEPOLL
src_libzmq_la_SOURCES
+=
\
external/wepoll/wepoll.c
endif
if
USE_TWEETNACL
if
USE_TWEETNACL
src_libzmq_la_SOURCES
+=
\
src_libzmq_la_SOURCES
+=
\
src/tweetnacl.c
\
src/tweetnacl.c
\
...
...
acinclude.m4
View file @
d07ddb1b
...
@@ -1052,7 +1052,7 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
...
@@ -1052,7 +1052,7 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
# Allow user to override poller autodetection
# Allow user to override poller autodetection
AC_ARG_WITH([poller],
AC_ARG_WITH([poller],
[AS_HELP_STRING([--with-poller],
[AS_HELP_STRING([--with-poller],
[choose I/O thread polling system manually. Valid values are 'kqueue', 'epoll', 'devpoll', 'pollset', 'poll', 'select', or 'auto'. [default=auto]])])
[choose I/O thread polling system manually. Valid values are 'kqueue', 'epoll', 'devpoll', 'pollset', 'poll', 'select',
'wepoll',
or 'auto'. [default=auto]])])
# Allow user to override poller autodetection
# Allow user to override poller autodetection
AC_ARG_WITH([api_poller],
AC_ARG_WITH([api_poller],
...
@@ -1134,6 +1134,12 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
...
@@ -1134,6 +1134,12 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
poller_found=1
poller_found=1
])
])
;;
;;
wepoll)
# wepoll can only be manually selected
AC_MSG_NOTICE([Using 'wepoll' I/O thread polling system])
AC_DEFINE(ZMQ_IOTHREAD_POLLER_USE_EPOLL, 1, [Use 'epoll' I/O thread polling system])
poller_found=1
;;
esac
esac
test $poller_found -eq 1 && break
test $poller_found -eq 1 && break
done
done
...
@@ -1146,6 +1152,8 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
...
@@ -1146,6 +1152,8 @@ AC_DEFUN([LIBZMQ_CHECK_POLLER], [{
if test "x$with_api_poller" == "xauto"; then
if test "x$with_api_poller" == "xauto"; then
if test $poller == "select"; then
if test $poller == "select"; then
api_poller=select
api_poller=select
elif test $poller == "wepoll"; then
api_poller=select
else
else
api_poller=poll
api_poller=poll
fi
fi
...
...
configure.ac
View file @
d07ddb1b
...
@@ -507,6 +507,8 @@ AM_CONDITIONAL(USE_LIBSODIUM, test "$curve_library" = "libsodium")
...
@@ -507,6 +507,8 @@ AM_CONDITIONAL(USE_LIBSODIUM, test "$curve_library" = "libsodium")
AM_CONDITIONAL(USE_TWEETNACL, test "$curve_library" = "tweetnacl")
AM_CONDITIONAL(USE_TWEETNACL, test "$curve_library" = "tweetnacl")
AM_CONDITIONAL(HAVE_CURVE, test "x$curve_library" != "x")
AM_CONDITIONAL(HAVE_CURVE, test "x$curve_library" != "x")
AM_CONDITIONAL(USE_WEPOLL, test "$poller" = "wepoll")
# build using pgm
# build using pgm
have_pgm_library="no"
have_pgm_library="no"
...
...
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