bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD, autom4te and locking on NFS


From: Alexandre Duret-Lutz
Subject: Re: FreeBSD, autom4te and locking on NFS
Date: Wed, 10 May 2006 22:10:05 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

>>> "RW" == Ralf Wildenhues <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]