netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shivani Bhardwaj <shivanib134@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH iptables] configure: Remove flex check warning
Date: Mon, 20 Jun 2016 23:06:34 +0530	[thread overview]
Message-ID: <1466444194-7055-1-git-send-email-shivanib134@gmail.com> (raw)

Remove the warning about outdated version of flex as it is not needed
anymore.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
---
 configure.ac | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/configure.ac b/configure.ac
index b170add..c91e9e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,21 +157,6 @@ if test "x$enable_nftables" = "xyes"; then
 	        echo "    Please install the 'flex' package."
 	        exit 1
 	fi
-
-	AC_MSG_CHECKING(flex version)
-	flex_version=`$ac_cv_prog_LEX --version | sed 's/version//g' | awk '/flex/ {print $2}'`
-	flex_major=`echo $flex_version| cut -d . -f 1`
-	flex_minor=`echo $flex_version| cut -d . -f 2`
-	flex_rev=`echo $flex_version| cut -d . -f 3`
-
-	if test "$flex_major" -eq "2" && test "$flex_minor" -eq "5" && test "$flex_rev" -ge "33"; then
-		AC_MSG_RESULT([$flex_version. OK])
-	else
-		AC_MSG_WARN([flex version $flex_version found.
-		Version 2.5.33 or greater is required. You may experience problems
-		while compilating the nftables compatibility layer for iptables.
-		Please, consider to upgrade flex.])
-	fi
 fi
 
 AM_CONDITIONAL([HAVE_LIBMNL], [test "$mnl" = 1])
-- 
2.7.4


             reply	other threads:[~2016-06-20 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 17:36 Shivani Bhardwaj [this message]
2016-06-22 12:41 ` [PATCH iptables] configure: Remove flex check warning Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1466444194-7055-1-git-send-email-shivanib134@gmail.com \
    --to=shivanib134@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).