You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Ferenc Wágner (JIRA)" <ji...@apache.org> on 2015/11/26 17:47:11 UTC
[jira] [Created] (SANTUARIO-435) Automake misses the subdir-objects
option
Ferenc Wágner created SANTUARIO-435:
---------------------------------------
Summary: Automake misses the subdir-objects option
Key: SANTUARIO-435
URL: https://issues.apache.org/jira/browse/SANTUARIO-435
Project: Santuario
Issue Type: Bug
Components: C++
Affects Versions: C++ 1.7.3, C++ 1.7.4
Environment: Debian Linux x86_64
autoconf 2.69
automake 1.14.1
Reporter: Ferenc Wágner
Assignee: Scott Cantor
Priority: Minor
The {{autoreconf}} procedure complains like this:
{noformat}
[...]
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:25: installing 'build-aux/compile'
xsec/Makefile.am:370: warning: source file 'canon/XSECC14n20010315.cpp' is in a subdirectory,
xsec/Makefile.am:370: but option 'subdir-objects' is disabled
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.
xsec/Makefile.am:370: warning: source file 'canon/XSECXMLNSStack.cpp' is in a subdirectory,
xsec/Makefile.am:370: but option 'subdir-objects' is disabled
xsec/Makefile.am:370: warning: source file 'canon/XSECCanon.cpp' is in a subdirectory,
xsec/Makefile.am:370: but option 'subdir-objects' is disabled
[...]
{noformat}
A possible fix is adding the option to {{AM_INIT_AUTOMAKE}} in {{configure.ac}}, like
{noformat}
AM_INIT_AUTOMAKE([subdir-objects])
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)