aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-07-27 18:52:05 +0000
committerGuy Harris <guy@alum.mit.edu>2007-07-27 18:52:05 +0000
commitf104bfa2adba5535ff818a0afd0b9acecf0764bb (patch)
tree4bc7b45d7f177463a03bdf8fc8d2ce56fc665014
parentc539ff38ef21d8588500f876cc8f8189dc6b16fe (diff)
downloadwireshark-f104bfa2adba5535ff818a0afd0b9acecf0764bb.tar.gz
wireshark-f104bfa2adba5535ff818a0afd0b9acecf0764bb.tar.bz2
wireshark-f104bfa2adba5535ff818a0afd0b9acecf0764bb.zip
I think the intent, at least, is to allow people to build Wireshark from
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). svn path=/trunk/; revision=22414
-rw-r--r--configure.in16
-rw-r--r--wiretap/configure.in15
2 files changed, 0 insertions, 31 deletions
diff --git a/configure.in b/configure.in
index b345eeeab8..970c427409 100644
--- a/configure.in
+++ b/configure.in
@@ -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)
diff --git a/wiretap/configure.in b/wiretap/configure.in
index 734a90c43e..883bd6b8b2 100644
--- a/wiretap/configure.in
+++ b/wiretap/configure.in
@@ -21,21 +21,6 @@ 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
#
AC_ARG_ENABLE(extra-gcc-checks,