* [PATCH iptables] configure: Remove flex check warning
@ 2016-06-20 17:36 Shivani Bhardwaj
2016-06-22 12:41 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Shivani Bhardwaj @ 2016-06-20 17:36 UTC (permalink / raw)
To: netfilter-devel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iptables] configure: Remove flex check warning
2016-06-20 17:36 [PATCH iptables] configure: Remove flex check warning Shivani Bhardwaj
@ 2016-06-22 12:41 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2016-06-22 12:41 UTC (permalink / raw)
To: Shivani Bhardwaj; +Cc: netfilter-devel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-22 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 17:36 [PATCH iptables] configure: Remove flex check warning Shivani Bhardwaj
2016-06-22 12:41 ` Pablo Neira Ayuso
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).