GNU bug report logs -
#55025
Automake should allow one to enable POSIX make behavior
Previous Next
Reported by: Vincent Lefevre <vincent <at> vinc17.net>
Date: Tue, 19 Apr 2022 15:35:02 UTC
Severity: wishlist
Tags: confirmed
Done: Karl Berry <karl <at> freefriends.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 6 Oct 2023 16:40:32 -0600
with message-id <202310062240.396MeW9U012677 <at> freefriends.org>
and subject line Re: [PATCH] New "posix" automake option.
has caused the debbugs.gnu.org bug report #55025,
regarding Automake should allow one to enable POSIX make behavior
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
55025: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55025
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
says about the target rules:
.POSIX
The application shall ensure that this special target is specified
without prerequisites or commands. If it appears as the first
non-comment line in the makefile, /make/ shall process the makefile
as specified by this section; otherwise, the behavior of /make/ is
unspecified.
But even though one may add a .POSIX target as the first non-comment
line in one's Makefile.am file, Automake will add various non-comment
lines before this target in the generated Makefile. I received a
remark about that for GNU MPFR. Though GNU make does not require
this target to be the first non-comment line, this may matter with
other make implementations.
This could be done either by detecting a .POSIX target in Makefile.am
or with some AM_* macro in the configure.ac file.
--
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[Message part 3 (message/rfc822, inline)]
I installed your patch (and added a tiny test case). Thanks Vincent!
Closing this bug (finally ...). -k
This bug report was last modified 1 year and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.