From: Francis Dupont Date: Wed, 21 Sep 2016 12:15:13 +0000 (+0200) Subject: Added warnings for alternatives to select X-Git-Tag: v4_4_0b1_f1~134^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86310ec66b2c34f4e5848bfddeecc625837254be;p=thirdparty%2Fdhcp.git Added warnings for alternatives to select --- diff --git a/configure b/configure index 9b4a68605..e2c81698f 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 6c3a3d4c4..1e55f0214 100644 --- a/configure.ac +++ b/configure.ac @@ -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)