Commit 86310ec6 authored by Francis Dupont's avatar Francis Dupont
Browse files

Added warnings for alternatives to select

parent 50f967d5
......@@ -5668,8 +5668,8 @@ fi
fi
if test ! -x $ATF_BIN/atf-run -o ! -x $ATF_BIN/atf-report ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: atf-run,atf-report not found, assuming they are in your path" >&5
$as_echo "$as_me: WARNING: atf-run,atf-report not found, assuming they are in your path" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: atf-run/atf-report not found, assuming they are in your path" >&5
$as_echo "$as_me: WARNING: atf-run/atf-report not found, assuming they are in your path" >&2;}
fi
......@@ -6744,6 +6744,8 @@ fi
if test "$want_kqueue" = "yes"; then
BINDIOMUX="--enable-kqueue"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-kqueue is not supported: it can lead to some issue as server looping" >&5
$as_echo "$as_me: WARNING: --enable-kqueue is not supported: it can lead to some issue as server looping" >&2;}
fi
# Check whether --enable-epoll was given.
if test "${enable_epoll+set}" = set; then :
......@@ -6754,6 +6756,8 @@ fi
if test "$want_epoll" = "yes"; then
BINDIOMUX="--enable-epoll"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-epoll is not supported: it can lead to some issue as server looping" >&5
$as_echo "$as_me: WARNING: --enable-epoll is not supported: it can lead to some issue as server looping" >&2;}
fi
# Check whether --enable-devpoll was given.
if test "${enable_devpoll+set}" = set; then :
......@@ -6764,6 +6768,8 @@ fi
if test "$want_devpoll" = "yes"; then
BINDIOMUX="--enable-devpoll"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-devpoll is not supported: it can lead to some issue as server looping" >&5
$as_echo "$as_me: WARNING: --enable-devpoll is not supported: it can lead to some issue as server looping" >&2;}
fi
......
......@@ -295,7 +295,7 @@ elif test "$atf_path" != "no" ; then
fi
if test ! -x $ATF_BIN/atf-run -o ! -x $ATF_BIN/atf-report ; then
AC_MSG_WARN([atf-run,atf-report not found, assuming they are in your path])
AC_MSG_WARN([atf-run/atf-report not found, assuming they are in your path])
fi
AC_SUBST(ATF_CFLAGS)
......@@ -638,18 +638,21 @@ AC_ARG_ENABLE(kqueue,
want_kqueue="$enableval", want_kqueue="no")
if test "$want_kqueue" = "yes"; then
BINDIOMUX="--enable-kqueue"
AC_MSG_WARN([--enable-kqueue is not supported: it can lead to some issue as server looping])
fi
AC_ARG_ENABLE(epoll,
AS_HELP_STRING([--enable-epoll],[use Linux epoll (default is no)]),
want_epoll="$enableval", want_epoll="no")
if test "$want_epoll" = "yes"; then
BINDIOMUX="--enable-epoll"
AC_MSG_WARN([--enable-epoll is not supported: it can lead to some issue as server looping])
fi
AC_ARG_ENABLE(devpoll,
AS_HELP_STRING([--enable-devpoll],[use /dev/poll (default is no)]),
want_devpoll="$enableval", want_devpoll="no")
if test "$want_devpoll" = "yes"; then
BINDIOMUX="--enable-devpoll"
AC_MSG_WARN([--enable-devpoll is not supported: it can lead to some issue as server looping])
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