>>> "RW" == Ralf Wildenhues <[EMAIL PROTECTED]> writes:
[...] >> > - BTW, is there real-world indication of build tools other than >> > Automake-created Makefiles that may happen to invoke parallel autom4te >> > instances, possibly indirectly? I think you can configure autom4te (with "~/.autom4te.cfg") so that it creates a central autom4te.cache instead of one per project. If you rebuild several projects in parallel in this situation you need locking even without "make -j". [...] RW> Looks good to me. Alexandre? Looks fine to me, except I would rewrite the last line of + msg ($make_j ? 'fatal' : 'unsupported', + "cannot lock $file with mode $mode: $!" . ($make_j ? $note : "")) + if $make_j or not $!{ENOLCK} || $!{EOPNOTSUPP}; as if $make_j || !($!{ENOLCK} || $!{EOPNOTSUPP}); for readability and consistency. -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl