summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2013-08-28 09:57:17 +0100
committerWill Thompson <will@willthompson.co.uk>2013-08-28 09:57:17 +0100
commit1108a8aa37c2fa4ef14ad9f5a198ac5f80f2d765 (patch)
tree932f6cb617824c11f14245dd8f2244bcc3cf3e25
parent37eef7721f1d6493bb241618fc6ca73f4d658744 (diff)
downloadtelepathy-gabble-1108a8aa37c2fa4ef14ad9f5a198ac5f80f2d765.tar.gz
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.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bbf27718e..ed5d4e229 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