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

Fixed configure

parent f285576d
......@@ -6742,7 +6742,7 @@ else
want_kqueue="no"
fi
if test "$enableval" = "yes"; then
if test "$want_kqueue" = "yes"; then
BINDIOMUX="--enable-kqueue"
fi
# Check whether --enable-epoll was given.
......@@ -6752,7 +6752,7 @@ else
want_epoll="no"
fi
if test "$enableval" = "yes"; then
if test "$want_epoll" = "yes"; then
BINDIOMUX="--enable-epoll"
fi
# Check whether --enable-devpoll was given.
......@@ -6762,7 +6762,7 @@ else
want_devpoll="no"
fi
if test "$enableval" = "yes"; then
if test "$want_devpoll" = "yes"; then
BINDIOMUX="--enable-devpoll"
fi
......
......@@ -636,19 +636,19 @@ BINDIOMUX="--disable-kqueue --disable-epoll --disable-devpoll"
AC_ARG_ENABLE(kqueue,
AS_HELP_STRING([--enable-kqueue],[use BSD kqueue (default is no)]),
want_kqueue="$enableval", want_kqueue="no")
if test "$enableval" = "yes"; then
if test "$want_kqueue" = "yes"; then
BINDIOMUX="--enable-kqueue"
fi
AC_ARG_ENABLE(epoll,
AS_HELP_STRING([--enable-epoll],[use Linux epoll (default is no)]),
want_epoll="$enableval", want_epoll="no")
if test "$enableval" = "yes"; then
if test "$want_epoll" = "yes"; then
BINDIOMUX="--enable-epoll"
fi
AC_ARG_ENABLE(devpoll,
AS_HELP_STRING([--enable-devpoll],[use /dev/poll (default is no)]),
want_devpoll="$enableval", want_devpoll="no")
if test "$enableval" = "yes"; then
if test "$want_devpoll" = "yes"; then
BINDIOMUX="--enable-devpoll"
fi
AC_SUBST(BINDIOMUX)
......
Markdown is supported
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