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