Greg Troxel <gdt@...> wrote:
> The NetBSD yacc man page indicates that it's POSIX.2 compliant, and
> doesn't say that -o is an extension, so I'm hoping it is safe to use.
> With this, I did a bunch of 'make -j9' and didn't lose.
If you are heading that way, add a configure test for yacc -o (should
not be very hard), and produce an appropriate output. For instance,
Makefile.in could have:
${YACC} -p`echo $@|${SED} 's/^\([^_]\{1,\}_\).*$$/\1/'` $< @YACC_OUTPUT@
And configure could set
YACC_OUTPUT="-o $@"
or
YACC_OUTPUT="; mv y.tab.c $@"
depending on yacc -o availaibillity.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...Message
Re: [milter-greylist] make -j?
2008-10-04 by manu@netbsd.org
Attachments
- No local attachments were found for this message.