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

2015-01-22 Thread Dan Williams
On Thu, 2015-01-22 at 16:03 +0100, Michael Biebl wrote:
> 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,
> ...

I get that too with subdir-objects and automake 1.13.4.  Maybe it's
related to http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13928 ?  If so,
then we can't use subdir-objects until automake 1.16...

Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


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

2015-01-22 Thread Michael Biebl
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?



signature.asc
Description: OpenPGP digital signature
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list