telepathy-gabble: configure: tell Automake to put object files in subdirs

Simon McVittie smcv at kemper.freedesktop.org
Mon Oct 14 08:21:20 PDT 2013


Module: telepathy-gabble
Branch: master
Commit: 1108a8aa37c2fa4ef14ad9f5a198ac5f80f2d765
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=1108a8aa37c2fa4ef14ad9f5a198ac5f80f2d765

Author: Will Thompson <will at willthompson.co.uk>
Date:   Wed Aug 28 09:57:17 2013 +0100

configure: tell Automake to put object files in subdirs

Previously, the object files for plugins/console/*.c were being written
to plugins/debug.o, plugins/channel.o, etc. This works fine until two
plugins have files with the same name. Setting subdir-objects makes the
objects end up in plugins/console/ instead, with only the linked plugin
ending up as plugins/libconsole.la.

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index bbf2771..ed5d4e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ AC_INIT([Telepathy Gabble], [gabble_version],
 
 AC_CONFIG_MACRO_DIR([m4])
 
-AM_INIT_AUTOMAKE([1.9 -Wno-portability tar-ustar])
+AM_INIT_AUTOMAKE([1.9 -Wno-portability tar-ustar subdir-objects])
 AM_CONFIG_HEADER(config.h)
 
 AC_USE_SYSTEM_EXTENSIONS



More information about the telepathy-commits mailing list