THRIFT-865. Make Thrift buildable without libfl
authorDavid Reiss <dreiss@apache.org>
Tue, 31 Aug 2010 16:51:29 +0000 (16:51 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 31 Aug 2010 16:51:29 +0000 (16:51 +0000)
commit4563acdd236da80f2cadc2ba548d05c10f5b2998
tree09db46be8a112eeb92472f94150a39125eb43061
parentef5e81b1acdc6e0091c8bc9170bff1e83c7e990e
THRIFT-865. Make Thrift buildable without libfl

yywrap is only needed if we need one lexer context to traverse multiple
input files.  This feature isn't used by Thrift, so we disable it with
"option noyywrap".  With yywrap disabled, there is no need to link to
libfl if flex is the lex implementation used.

With this patch, release tarballs can be built without lex.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991254 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/thriftl.ll