<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/18906">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">configure: Use subdir-objects<br><br>Fixes warnings during build:<br>"""<br>tests/handover/Makefile.am:7: warning: source file '$(srcdir)/../stubs.c' is in a subdirectory,<br>tests/handover/Makefile.am:7: but option 'subdir-objects' is disabled<br>automake-1.16: warning: possible forward-incompatibility.<br>automake-1.16: At least a source file is in a subdirectory, but the 'subdir-objects'<br>automake-1.16: automake option hasn't been enabled.  For now, the corresponding output<br>automake-1.16: object file(s) will be placed in the top-level directory.  However,<br>automake-1.16: this behaviour will change in future Automake versions: they will<br>automake-1.16: unconditionally cause object files to be placed in the same subdirectory<br>automake-1.16: of the corresponding sources.<br>automake-1.16: You are advised to start using 'subdir-objects' option throughout your<br>automake-1.16: project, to avoid future incompatibilities.<br>"""<br><br>Change-Id: If68bcdf28e1d9f66c6bc91cc2c257665224b3adb<br>---<br>M configure.ac<br>M src/osmo-bts-litecell15/Makefile.am<br>M src/osmo-bts-oc2g/Makefile.am<br>3 files changed, 2 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/06/18906/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure.ac b/configure.ac</span><br><span>index ef73b51..8acf751 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -6,7 +6,7 @@</span><br><span> dnl *This* is the root dir, even if an install-sh exists in ../ or ../../</span><br><span> AC_CONFIG_AUX_DIR([.])</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-AM_INIT_AUTOMAKE([dist-bzip2])</span><br><span style="color: hsl(120, 100%, 40%);">+AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])</span><br><span> AC_CONFIG_TESTDIR(tests)</span><br><span> </span><br><span> dnl kernel style compile messages</span><br><span>@@ -22,7 +22,7 @@</span><br><span> AC_PROG_INSTALL</span><br><span> LT_INIT</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-dnl patching ${archive_cmds} to affect generation of file "libtool" to fix linking with clang </span><br><span style="color: hsl(120, 100%, 40%);">+dnl patching ${archive_cmds} to affect generation of file "libtool" to fix linking with clang</span><br><span> AS_CASE(["$LD"],[*clang*],</span><br><span>   [AS_CASE(["${host_os}"],</span><br><span>      [*linux*],[archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'])])</span><br><span>diff --git a/src/osmo-bts-litecell15/Makefile.am b/src/osmo-bts-litecell15/Makefile.am</span><br><span>index 0cc124a..b8380ba 100644</span><br><span>--- a/src/osmo-bts-litecell15/Makefile.am</span><br><span>+++ b/src/osmo-bts-litecell15/Makefile.am</span><br><span>@@ -1,5 +1,3 @@</span><br><span style="color: hsl(0, 100%, 40%);">-AUTOMAKE_OPTIONS = subdir-objects</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include $(LITECELL15_INCDIR)</span><br><span> AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCODEC_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOTRAU_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(LIBGPS_CFLAGS) $(LIBSYSTEMD_CFLAGS)</span><br><span> COMMON_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOCODEC_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOTRAU_LIBS) $(LIBOSMOABIS_LIBS) $(LIBOSMOCTRL_LIBS)</span><br><span>diff --git a/src/osmo-bts-oc2g/Makefile.am b/src/osmo-bts-oc2g/Makefile.am</span><br><span>index 54a8afa..33e9c84 100644</span><br><span>--- a/src/osmo-bts-oc2g/Makefile.am</span><br><span>+++ b/src/osmo-bts-oc2g/Makefile.am</span><br><span>@@ -1,5 +1,3 @@</span><br><span style="color: hsl(0, 100%, 40%);">-AUTOMAKE_OPTIONS = subdir-objects </span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include $(OC2G_INCDIR)</span><br><span> AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCODEC_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOTRAU_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(LIBGPS_CFLAGS) $(ORTP_CFLAGS) $(LIBSYSTEMD_CFLAGS)</span><br><span> COMMON_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOCODEC_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOTRAU_LIBS) $(LIBOSMOABIS_LIBS) $(LIBOSMOCTRL_LIBS) $(ORTP_LIBS)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/18906">change 18906</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bts/+/18906"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If68bcdf28e1d9f66c6bc91cc2c257665224b3adb </div>
<div style="display:none"> Gerrit-Change-Number: 18906 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>