[systemd-devel] [PATCH] build: Allow disabling maintainer mode

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Nov 13 05:06:22 PST 2013


On 13/11/13 12:24, David Timothy Strauss wrote:
> Based on the autotools docs, it looks like this would change the
> default to enabled "maintainer mode," meaning developers would need to
> run --disable-maintainer-mode to maintain the current behavior. Is
> this correct?

Absence of AM_MAINTAINER_MODE is equivalent to always being in
"maintainer mode" (the mode in which the build system will automatically
run autoconf, automake, libtoolize etc.). AM_MAINTAINER_MODE with no
argument disables maintainer mode by default but allows it to be
enabled; AM_MAINTAINER_MODE([enable]) enables it by default but allows
it to be disabled.

AM_MAINTAINER_MODE([enable]) is usually the right thing.

    S



More information about the systemd-devel mailing list