bug-automake
[Top][All Lists]
Advanced

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

bug#55025: Automake should allow one to enable POSIX make behavior


From: Vincent Lefevre
Subject: bug#55025: Automake should allow one to enable POSIX make behavior
Date: Wed, 4 Oct 2023 17:57:46 +0200
User-agent: Mutt/2.2.12+67 (757ca3b3) vl-149028 (2023-09-09)

On 2023-10-03 15:08:42 -0600, Karl Berry wrote:
>     Yes, Automake should either detect a ".POSIX:" in the Makefile.am
>     file (at least if it is the first non-comment line) and place it at
>     the beginning of Makefile.in, or provide an option to be used with
>     AM_INIT_AUTOMAKE (or AUTOMAKE_OPTIONS) in order to have a ".POSIX:"
>     at the beginning of Makefile.in.
> 
> Ok. I welcome patches for either or both. It's not something I'll be
> implementing myself any time soon (regrettably).

I think that a "posix" option is cleaner and simpler to implement.
I have some idea of a patch. I'll try to look at it more closely
late tonight.

>     The Makefile.am files of GNU MPFR have a ".POSIX:" target 
> 
> Glad to know it works in practice for you. I'm just surprised that
> nothing in Automake's make output breaks under POSIX. --thanks, karl.

On platforms with a POSIX "make", the generated makefile needs to
work as expected. This limits the risk of breakage when using a
".POSIX:" target.

-- 
Vincent Lefèvre <vincent@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)





reply via email to

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