I think the intent, at least, is to allow people to build Wireshark from
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 27 Jul 2007 18:52:05 +0000 (18:52 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 27 Jul 2007 18:52:05 +0000 (18:52 +0000)
a source release tarball without having Flex (think of a source release
tarball being as much a platform-independent distribution format for
people *not* interested in development, and who are on platforms for
which there aren't binary packages, as a way of getting the source to do
development).  Don't check Flex's capabilities in the configure script
(handling reentrant scanners would have to be done differently).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22414 f5534014-38df-0310-8fa8-9805f1628bb7

configure.in
wiretap/configure.in

index b345eeeab8ab476c09abf1e19efd7f642aeabec7..970c42740909c28bc23500535c5f34c953fff4b7 100644 (file)
@@ -53,22 +53,6 @@ else
 fi
 
 AC_PATH_PROG(LEX, flex)
-
-#
-# Check whether Flex supports -R, so we can build reentrant scanners.
-#
-AC_MSG_CHECKING(whether Flex can generate reentrant scanners)
-if flex -R -t <<EOF >/dev/null 2>&1
-%%
-%%
-EOF
-then
-    AC_MSG_RESULT(yes)
-    AC_DEFINE(FLEX_REENTRANT_SCANNERS, 1, [Define if Flex can generate reentrant scanners])
-else
-    AC_MSG_RESULT(no)
-fi
-
 AC_PATH_PROG(PYTHON, python)
 
 AC_SUBST(PERL)
index 734a90c43ea753e4d50ecdcb43e9ad3fd2d107a7..883bd6b8b2f71f3acfcf628d0261f9c13cbfc145 100644 (file)
@@ -20,21 +20,6 @@ AM_PROG_LEX
 AC_PROG_LIBTOOL
 AC_PATH_PROG(LEX, flex)
 
-#
-# Check whether Flex supports -R, so we can build reentrant scanners.
-#
-AC_MSG_CHECKING(whether Flex can generate reentrant scanners)
-if flex -R -t <<EOF >/dev/null 2>&1
-%%
-%%
-EOF
-then
-    AC_MSG_RESULT(yes)
-    AC_DEFINE(FLEX_REENTRANT_SCANNERS, 1, [Define if Flex can generate reentrant scanners])
-else
-    AC_MSG_RESULT(no)
-fi
-
 #
 # Try to add some additional gcc checks to CFLAGS
 #