diff mbox

[iptables] configure: Remove flex check warning

Message ID 1466444194-7055-1-git-send-email-shivanib134@gmail.com
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Shivani Bhardwaj June 20, 2016, 5:36 p.m. UTC
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(-)

Comments

Pablo Neira Ayuso June 22, 2016, 12:41 p.m. UTC | #1
On Mon, Jun 20, 2016 at 11:06:34PM +0530, Shivani Bhardwaj wrote:
> Remove the warning about outdated version of flex as it is not needed
> anymore.

Applied, thanks Shivani.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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])