[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
jitter: avoid unportable and ineffective Makefile syntax
From: |
Bruno Haible |
Subject: |
jitter: avoid unportable and ineffective Makefile syntax |
Date: |
Sat, 11 Apr 2020 12:59:47 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; ) |
Hi Luca,
When building with GNU make 4.3, I get this warning in the 'jitter'
subdirectory:
Makefile:19836: warning: ignoring prerequisites on suffix rule definition
The cause: In this rule
.in.m4sh.in: m4-utility/jitter-script.m4sh
$(AUTOM4TE) ...
- the syntax is invalid, as POSIX make does not allow dependencies on inference
rules [1],
- All versions of GNU make ignore these dependencies [2].
Find attached a proposed patch.
Bruno
[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
[2] https://lists.gnu.org/archive/html/bug-gettext/2020-04/msg00001.html
jitter-makefile-fix.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- jitter: avoid unportable and ineffective Makefile syntax,
Bruno Haible <=