From bf12ff26d542acd9e72344037cdcac5d301f1ade Mon Sep 17 00:00:00 2001 From: Harikrishnan Hariharan Date: Mon, 23 Sep 2019 15:49:43 +0530 Subject: [PATCH] Use 'subdir-objects' option in HAL configure options If a source file is in a subdirectory, but the 'subdir-objects' automake option hasn't been enabled. For now, the corresponding output object file(s) will be placed in the top-level directory. However, this behaviour will change in future Automake versions, they will unconditionally cause object files to be placed in the same subdirectory of the corresponding sources. So to avoid future incompatibilities, enable the 'subdir-objects' option in location module configure options. Change-Id: If9e94c0f6fcd9922ee7f0f9d1909d5d6579a5715 CRs-Fixed: 2533108 --- configure.ac | 2 +- core/configure.ac | 2 +- location/configure.ac | 2 +- utils/configure.ac | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 0ab8e68e..2a44051b 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ AC_PREREQ(2.61) # Initialize the gps loc-hal package version 1.0.0 AC_INIT([loc-hal],1.0.0) # Does not strictly follow GNU Coding standards -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) # Disables auto rebuilding of configure, Makefile.ins AM_MAINTAINER_MODE # Verifies the --srcdir is correct by checking for the path diff --git a/core/configure.ac b/core/configure.ac index ea0a128d..c3e062b6 100644 --- a/core/configure.ac +++ b/core/configure.ac @@ -7,7 +7,7 @@ AC_PREREQ(2.61) # Initialize the gps loc-hal package version 1.0.0 AC_INIT([loc-core],1.0.0) # Does not strictly follow GNU Coding standards -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) # Disables auto rebuilding of configure, Makefile.ins AM_MAINTAINER_MODE # Verifies the --srcdir is correct by checking for the path diff --git a/location/configure.ac b/location/configure.ac index 6391d65d..39abb69f 100644 --- a/location/configure.ac +++ b/location/configure.ac @@ -7,7 +7,7 @@ AC_PREREQ(2.61) # Initialize the gps location-api-iface package version 1.0.0 AC_INIT([location-api-iface],1.0.0) # Does not strictly follow GNU Coding standards -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) # Disables auto rebuilding of configure, Makefile.ins AM_MAINTAINER_MODE # Verifies the --srcdir is correct by checking for the path diff --git a/utils/configure.ac b/utils/configure.ac index fd164943..2a04f450 100644 --- a/utils/configure.ac +++ b/utils/configure.ac @@ -7,7 +7,7 @@ AC_PREREQ(2.61) # Initialize the gps gps-utils package version 1.0.0 AC_INIT([gps-utils],1.0.0) # Does not strictly follow GNU Coding standards -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) # Disables auto rebuilding of configure, Makefile.ins AM_MAINTAINER_MODE # Verifies the --srcdir is correct by checking for the path