[virt-tools-list] [virt-viewer] build-sys: Use automake 'subdir-objects' option

Christophe Fergeau cfergeau at redhat.com
Thu Jun 12 12:26:36 UTC 2014


Ping?

On Tue, May 13, 2014 at 11:50:58AM +0200, Christophe Fergeau wrote:
> This silences an automake 1.14 warning:
> 
> src/Makefile.am:35: warning: source file 'view/autoDrawer.c' is in a
> subdirectory,
> src/Makefile.am:35: 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.
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 4e0d7b3..2363fa5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -5,7 +5,7 @@ AC_CONFIG_MACRO_DIR([m4])
>  AC_CONFIG_AUX_DIR([build-aux])
>  AC_CONFIG_HEADERS([config.h])
>  dnl Make automake keep quiet about wildcards & other GNUmake-isms
> -AM_INIT_AUTOMAKE([-Wno-portability])
> +AM_INIT_AUTOMAKE([subdir-objects -Wno-portability])
>  AC_CANONICAL_HOST
>  
>  # Use the silent-rules feature when possible.
> -- 
> 1.9.0
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140612/3b917e6c/attachment.sig>


More information about the virt-tools-list mailing list