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-03-02 21:39:22
|
This is now in flex cvs. --Will On Thursday, 1 March 2012, 6:17 pm -0800, Isaac Dunham <id...@la...> wrote: > On Fri, 24 Feb 2012 14:44:57 +0000 > Tim Landscheidt <ti...@ti...> wrote: > > I replaced the test for GNU M4 with a feature test for "m4 > > -P" in the attached patch. Could you try it out on NetBSD? > > (You will have to regenerate "configure" with "autoconf".) > > It builds with NetBSD m4, if autotools is absent (or non-executable!) > If autotools is installed, autom4te will die because of the missing GNU M4. > > What I did that worked: > #gm4 is GNU m4 > #m4 is netbsd m4 > patch > autoconf #requires gm4 > chmod -x /usr/bin/pkg/gm4 #simulate no GNU m4 > #autotools needs GNU m4, and "missing" doesn't check beforehand > #This scenario wouldn't happen without tinkering. > chmod -x /usr/pkg/bin/auto* > /configure > make > > The steps up to chmod -x roughly correspond to creating a release; those > afterwards correspond to building from the tarball. > So yes, it works for all sane configurations; it fails when you > -install GNU M4 > -then install autotools > -then remove gnu m4 (breaks autotools) > > -- > Isaac Dunham <id...@la...> > > > ------------------------------------------------------------------------------ > 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/ |