Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: rlimits.c recompiled on every make



On Jul 6, 10:35am, Andrej Borsenkow wrote:
} Subject: RE: rlimits.c recompiled on every make
}
} make[3]: Entering directory `/usr/build/zsh/Src/Builtins'
} gawk -f /usr/src/zsh/Src/Builtins/rlimits.awk /dev/null > rlimits.h
                                                ^^^^^^^^^

Here's the problem.  @RLIMITS_INC_H@ is being replaced by /dev/null; I
suspect the mod time of /dev/null changes whenever it's written-to, so
it's almost always newer than rlimits.h -- hence rlimits.h is remade,
and so rlimits.o is also remade.

Please re-run configure and let me know whether you see the message

    RLIMIT MACROS NOT FOUND:  please report to developers

There's a comment in configure.in:

dnl rlimits.h only appears in dependencies if we are actually using it.

I suspect that comment may date from before rlimits.o was a module, and
is now incorrect -- or else it refers to the system <rlimits.h> rather
than to the generated file "Builtins/rlimits.h".

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author