]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
configure: Remove flex check warning
authorShivani Bhardwaj <shivanib134@gmail.com>
Mon, 20 Jun 2016 17:36:34 +0000 (23:06 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 22 Jun 2016 12:39:49 +0000 (14:39 +0200)
Remove the warning about outdated version of flex as it is not needed
anymore. This check was introduced back in 2008 to skip a broken flex
version that doesn't seem to be packaged by any distribution anymore.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac

index b170addfd4681e2cfbad8eee8fc4d2f438326502..c91e9e7199dd1e9d8ca2bb8398388f999d414d6f 100644 (file)
@@ -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])