Commit 50f967d5 authored by Francis Dupont's avatar Francis Dupont
Browse files

Fixed configure

parent f285576d
...@@ -6742,7 +6742,7 @@ else ...@@ -6742,7 +6742,7 @@ else
want_kqueue="no" want_kqueue="no"
fi fi
if test "$enableval" = "yes"; then if test "$want_kqueue" = "yes"; then
BINDIOMUX="--enable-kqueue" BINDIOMUX="--enable-kqueue"
fi fi
# Check whether --enable-epoll was given. # Check whether --enable-epoll was given.
...@@ -6752,7 +6752,7 @@ else ...@@ -6752,7 +6752,7 @@ else
want_epoll="no" want_epoll="no"
fi fi
if test "$enableval" = "yes"; then if test "$want_epoll" = "yes"; then
BINDIOMUX="--enable-epoll" BINDIOMUX="--enable-epoll"
fi fi
# Check whether --enable-devpoll was given. # Check whether --enable-devpoll was given.
...@@ -6762,7 +6762,7 @@ else ...@@ -6762,7 +6762,7 @@ else
want_devpoll="no" want_devpoll="no"
fi fi
if test "$enableval" = "yes"; then if test "$want_devpoll" = "yes"; then
BINDIOMUX="--enable-devpoll" BINDIOMUX="--enable-devpoll"
fi fi
......
...@@ -636,19 +636,19 @@ BINDIOMUX="--disable-kqueue --disable-epoll --disable-devpoll" ...@@ -636,19 +636,19 @@ BINDIOMUX="--disable-kqueue --disable-epoll --disable-devpoll"
AC_ARG_ENABLE(kqueue, AC_ARG_ENABLE(kqueue,
AS_HELP_STRING([--enable-kqueue],[use BSD kqueue (default is no)]), AS_HELP_STRING([--enable-kqueue],[use BSD kqueue (default is no)]),
want_kqueue="$enableval", want_kqueue="no") want_kqueue="$enableval", want_kqueue="no")
if test "$enableval" = "yes"; then if test "$want_kqueue" = "yes"; then
BINDIOMUX="--enable-kqueue" BINDIOMUX="--enable-kqueue"
fi fi
AC_ARG_ENABLE(epoll, AC_ARG_ENABLE(epoll,
AS_HELP_STRING([--enable-epoll],[use Linux epoll (default is no)]), AS_HELP_STRING([--enable-epoll],[use Linux epoll (default is no)]),
want_epoll="$enableval", want_epoll="no") want_epoll="$enableval", want_epoll="no")
if test "$enableval" = "yes"; then if test "$want_epoll" = "yes"; then
BINDIOMUX="--enable-epoll" BINDIOMUX="--enable-epoll"
fi fi
AC_ARG_ENABLE(devpoll, AC_ARG_ENABLE(devpoll,
AS_HELP_STRING([--enable-devpoll],[use /dev/poll (default is no)]), AS_HELP_STRING([--enable-devpoll],[use /dev/poll (default is no)]),
want_devpoll="$enableval", want_devpoll="no") want_devpoll="$enableval", want_devpoll="no")
if test "$enableval" = "yes"; then if test "$want_devpoll" = "yes"; then
BINDIOMUX="--enable-devpoll" BINDIOMUX="--enable-devpoll"
fi fi
AC_SUBST(BINDIOMUX) AC_SUBST(BINDIOMUX)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment