automake warnings about "option 'subdir-objects' is disabled"



Hi,

during build, I get the following warning:

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.
clients/cli/Makefile.am:49: warning: source file '$(srcdir)/../common/nm-polkit-listener.c' is in a 
subdirectory,
clients/cli/Makefile.am:49: but option 'subdir-objects' is disabled
clients/tui/Makefile.am:35: warning: source file '$(srcdir)/../common/nm-secret-agent-simple.c' is in a 
subdirectory,
...

and then hundred of those warnings.

Not sure if simply adding "subdir-objects" to AM_INIT_AUTOMAKE is the
right fix for this. The build seems to fail with that option set. So
this probably needs some more work.


Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature



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