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