You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Scott Cantor (JIRA)" <ji...@apache.org> on 2017/09/01 23:02:02 UTC
[jira] [Resolved] (SANTUARIO-435) Automake misses the
subdir-objects option
[ https://issues.apache.org/jira/browse/SANTUARIO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor resolved SANTUARIO-435.
------------------------------------
Resolution: Fixed
r1807012
> 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
> Environment: Debian Linux x86_64
> autoconf 2.69
> automake 1.14.1
> Reporter: Ferenc Wágner
> Assignee: Scott Cantor
> Priority: Minor
> Fix For: C++ 2.0.0
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> 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.4.14#64029)