Re: [Flex-help] Some flex patch snippets for Solaris.
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Rich B. <ric...@or...> - 2016-05-22 14:44:09
|
On 05/20/16 03:12 PM, Will Estes wrote: > The bootstrapping of flex was reworked after 2.6.1 was released. I -think- it's immune to the vpath build that you do. If you can verify that against the current git tree, let me know the results. Ditto the building of the man page. Confirmed. Both are now fine. > > As for finding m4, the solution needs to be more general. While what you do works for people who want to use the stock setup on Solaris, I can easily see other situations where it doesn't do enough. Agreed. > > I'll open an issue to describe the problem. > > What should happen is that configure should have an option that accepts a path to a suitable m4 binary. If that option is passed, then configure sets a variable that gets put into config.h which main.c reads. If that option is not passed, then configure should try to find a suitable m4 and set the symbol as previously. The M4 environment variable is handy for certain situations that might arise as well. Sounds good. > > Thanks for your report and interest in flex. You're welcome. And thank you for your quick response. |