]> git.ipfire.org Git - thirdparty/make.git/commit
Enable compilation with C90 compilers
authorPaul Smith <psmith@gnu.org>
Fri, 3 Jan 2020 23:19:33 +0000 (18:19 -0500)
committerPaul Smith <psmith@gnu.org>
Sat, 4 Jan 2020 18:23:23 +0000 (13:23 -0500)
commitb774aebffadd5f8374ff435b4c5d660ee899add7
treec57832e89a23bedd0c791646d424e0a5cb513e7e
parent06de697268492b72297b02ef69f68becc1874b54
Enable compilation with C90 compilers

* configure.ac: Try compiling Guile headers: they don't work with C90.
* maintMakefile: Simplify config checks via target-specific variables.
* src/makeint.h: Use ATTRIBUTE rather than defining __attribute__,
as that causes compile issues with system headers.
(ENUM_BITFIELD): Don't use enum bitfields in ANSI mode.
* src/main.c: Use ATTRIBUTE instead of __attribute__.
* src/job.h: Ditto.
* src/file.c: Don't define variables inside for loops.
* src/rule.c: Ditto.
* src/dep.h (SI): Only use static inline in non-ANSI mode.
configure.ac
maintMakefile
src/dep.h
src/file.c
src/job.h
src/main.c
src/makeint.h
src/rule.c