Re: [Flex-devel] Is GNU m4 really needed?
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Will E. <wes...@gm...> - 2012-02-22 10:58:33
|
We can certainly look at making the test more portable, yes. On Tuesday, 21 February 2012, 7:57 pm -0800, Isaac Dunham <id...@la...> wrote: > On Tue, 21 Feb 2012 07:22:16 -0500 > Will Estes <wes...@gm...> wrote: > > > I see that FreeBSD m4 does not provide the -P option at all. > > > > As a general thing, the m4 dependency is something that will be > > reviewed, although not for a couple flex versions. > .. > > > I grepped through the source for flex, and the only place it used GNUish m4 syntax (--prefix-builtins) was in configure.in / configure > > > NetBSD m4 has -P which does the same thing, so I switched the test to P and it compiled fine. > > Would you mind changing the test to accept -P? This would do it: > > sed -e 's/prefix-builtins/P/g' -i configure.in configure > > FreeBSD could add -P support fairly easily, if they wanted. But > testing for the long form when only the short form can be > cross-platform seems like a rather arbitrary limit, and there are > multiple implementations that use the short form. > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Flex-devel mailing list > Fle...@li... > https://lists.sourceforge.net/lists/listinfo/flex-devel -- Will Estes (wl...@us...) Flex Project Maintainer http://flex.sourceforge.net/ |