netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH conntrack-tools] configure: Remove flex check warning
@ 2016-06-20 17:42 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:42 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 c541034..b6c5439 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,21 +40,6 @@ then
 	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 conntrack-tools. Please, consider to upgrade 
-	flex.])
-fi
-
 AC_ARG_ENABLE([cthelper],
         AS_HELP_STRING([--disable-cthelper], [Do not build userspace helper support]),
         [enable_cthelper="$enableval"], [enable_cthelper="yes"])
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH conntrack-tools] configure: Remove flex check warning
  2016-06-20 17:42 [PATCH conntrack-tools] 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:12:32PM +0530, Shivani Bhardwaj wrote:
> Remove the warning about outdated version of flex as it is not needed
> anymore.

Also applied, thanks.

^ 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:42 [PATCH conntrack-tools] 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).