nano-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] build: enable maintainer mode


From: Benno Schulenberg
Subject: Re: [PATCH] build: enable maintainer mode
Date: Tue, 1 Mar 2022 10:55:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Op 26-02-2022 om 08:10 schreef Mike Frysinger:
> This disable regeneration of autotools by default (e.g. autoconf &
> automake) when running `make`.  The few maintainers that want this
> can re-enable with `./configure --enable-maintainer-mode`.

> +AM_MAINTAINER_MODE

If I apply this patch, run make, and then apply your next patch and
run make, then nano gets miscompiled, because configure does not get
rebuilt and rerun, and thus HAVE_CHOWN and HAVE_FORK and such do not
get defined in config.h, so that several pieces of code do not get
included in the binary.  I think this is wrong.  I think the build
rules should do the right thing by default.  Only if someone wants to
take shortcuts (to reduce the build time and risk misbuilds), they
should be able to run ./configure with --disable-maintainer-mode.

So would adding 'AM_MAINTAINER_MODE([enable])' work for you?

Benno

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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