[tracker/wip/resource: 3/11] configure: Use subdir-objects Automake option



commit 0f5b22b4add28ef040cef806a65b15751396692e
Author: Sam Thursfield <ssssam gmail com>
Date:   Sat Mar 26 18:55:56 2016 +0000

    configure: Use subdir-objects Automake option
    
    This fixes the following warnings:
    
        src/libtracker-miner/Makefile-shared-sources.decl:5: warning: source file 
'$(top_srcdir)/src/libtracker-miner/tracker-monitor.c' is in a subdirectory,
        src/libtracker-miner/Makefile-shared-sources.decl:5: but option 'subdir-objects' is disabled
        src/libtracker-miner/Makefile.am:10:   'src/libtracker-miner/Makefile-shared-sources.decl' included 
from here
        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.
        src/tracker-preferences/Makefile.am:34: warning: source file 
'$(top_srcdir)/src/miners/fs/tracker-config.c' is in a subdirectory,
        src/tracker-preferences/Makefile.am:34: but option 'subdir-objects' is disabled
        src/libtracker-miner/Makefile-shared-sources.decl:17: warning: source file 
'$(top_srcdir)/src/libtracker-miner/tracker-crawler.c' is in a subdirectory,
        src/libtracker-miner/Makefile-shared-sources.decl:17: but option 'subdir-objects' is disabled
        tests/libtracker-miner/Makefile.am:11:   'src/libtracker-miner/Makefile-shared-sources.decl' included 
from here
        src/libtracker-miner/Makefile-shared-sources.decl:5: warning: source file 
'$(top_srcdir)/src/libtracker-miner/tracker-monitor.c' is in a subdirectory,
        src/libtracker-miner/Makefile-shared-sources.decl:5: but option 'subdir-objects' is disabled
        tests/libtracker-miner/Makefile.am:11:   'src/libtracker-miner/Makefile-shared-sources.decl' included 
from here
        autoreconf: automake failed with exit status: 1

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 71d8b30..e4fa7b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ AC_CONFIG_HEADERS([config.h])
 # See: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Posix-Variants.html
 AC_USE_SYSTEM_EXTENSIONS
 
-AM_INIT_AUTOMAKE([1.11 no-define tar-ustar -Wno-portability no-dist-gzip dist-xz])
+AM_INIT_AUTOMAKE([1.11 no-define tar-ustar -Wno-portability no-dist-gzip dist-xz subdir-objects])
 
 AC_PROG_LIBTOOL
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]