[virt-tools-list] [virt-viewer] build-sys: Use automake 'subdir-objects' option
Daniel P. Berrange
berrange at redhat.com
Thu Jun 12 13:10:02 UTC 2014
On Thu, Jun 12, 2014 at 02:26:36PM +0200, Christophe Fergeau wrote:
> 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
ACK
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the virt-tools-list
mailing list