Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Automake throws a lot of "[...] option 'subdir-objects' is disabled" #760

Closed
zimmerle opened this issue Jul 30, 2014 · 0 comments
Closed

Comments

@zimmerle
Copy link
Contributor

Automake version 1.4+ is throwing a lot of "[...] option 'subdir-objects' is disabled".

Automake output:

automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
[...]
[...]: warning: source file '$(...)' is in a subdirectory,
[...]: but option 'subdir-objects' is disabled
[...]

From automake "NEWS/ChangeLog":

  - The next major Automake version (2.0) will unconditionally activate
    the 'subdir-objects' option.  In order to smooth out the transition,
    we now give a warning (in the category 'unsupported') whenever a
    source file is present in a subdirectory but the 'subdir-object' is
    not enabled.  For example, the following usage will trigger such a
    warning:

        bin_PROGRAMS = sub/foo
        sub_foo_SOURCES = sub/main.c sub/bar.c
@zimmerle zimmerle self-assigned this Jul 30, 2014
zimmerle pushed a commit that referenced this issue Jul 30, 2014
As of Automake 1.4, it starts to warning about the lack of utilization
of `subdir-objects' option, which will be default in the further
releases. Avoiding break stuff we are patching ModSecurity to support
such option when it still an option (Issue #760).
@zimmerle zimmerle changed the title Automake throws a lot of "[...] option 'subdir-objects' is disabled" build: Automake throws a lot of "[...] option 'subdir-objects' is disabled" Aug 4, 2014
zimmerle pushed a commit that referenced this issue Oct 27, 2014
As of Automake 1.4, it starts to warning about the lack of utilization
of `subdir-objects' option, which will be default in the further
releases. Avoiding break stuff we are patching ModSecurity to support
such option when it still an option (Issue #760).
zimmerle pushed a commit that referenced this issue Oct 31, 2014
As of Automake 1.4, it starts to warning about the lack of utilization
of `subdir-objects' option, which will be default in the further
releases. Avoiding break stuff we are patching ModSecurity to support
such option when it still an option (Issue #760).
@zimmerle zimmerle added this to the v2.8.1-RC1 milestone Nov 14, 2014
zimmerle pushed a commit that referenced this issue Nov 14, 2014
As of Automake 1.4, it starts to warning about the lack of utilization
of `subdir-objects' option, which will be default in the further
releases. Avoiding break stuff we are patching ModSecurity to support
such option when it still an option (Issue #760).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant