[PATCH 2/4] configure.ac: use the subdir-objects option

Stewart Smith stewart at linux.vnet.ibm.com
Tue Jul 12 18:31:24 AEST 2016


Antonio Ospite <ao2 at ao2.it> writes:
> This avoids clutter in the top-level dir, and also fixes this automake
> warning:
>
> Makefile.am:118: warning: source file 'twin_demos/twin_calc.c' is in a subdirectory,
> Makefile.am:118: 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.
>
> Signed-off-by: Antonio Ospite <ao2 at ao2.it>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Petitboot mailing list