diff options
author | Harikrishnan Hariharan <hahariha@codeaurora.org> | 2020-01-21 18:24:08 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-01-21 18:48:37 -0800 |
commit | df7f25541d10514585e50372d8c2fea723008683 (patch) | |
tree | 39fed75b71354dd8dd3028a2fa56e57d9daa8c53 | |
parent | 22c75b5598e52ed76614463c909f00b3120ce285 (diff) | |
download | gps-df7f25541d10514585e50372d8c2fea723008683.tar.gz |
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: Ie68b822f4cb9eb5c14c623fd6b050ca457886ab1
CRs-Fixed: 2607417
-rw-r--r-- | batching/configure.ac | 2 | ||||
-rw-r--r-- | geofence/configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/batching/configure.ac b/batching/configure.ac index 27435c6..e77e497 100644 --- a/batching/configure.ac +++ b/batching/configure.ac @@ -7,7 +7,7 @@ AC_PREREQ(2.61) # Initialize the gps location-batching package version 1.0.0 AC_INIT([location-batching],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/geofence/configure.ac b/geofence/configure.ac index 8e3cd81..74eae7a 100644 --- a/geofence/configure.ac +++ b/geofence/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ(2.61) AC_INIT([location-geofence], 1.0.0) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) |