Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] make -j?

2008-10-04 by manu@netbsd.org

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@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.