From: Yann Droneaud Date: Tue, 16 Jul 2013 21:59:49 +0000 (+0200) Subject: configure: Use automake's option "subdir-objects" X-Git-Tag: v1.0.18~34 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e9ef6c2e2d8141dd5c32472918b8c087f745524b;p=~shefty%2Flibrdmacm.git configure: Use automake's option "subdir-objects" Following advice in "Autotool Mythbuster" [1], option subdir-objects can be used to have Makefiles create object files in the same directory than theirs source files. It reduces clobbering in the build directory. [1] "Autotool Mythbuster", by Diego Elio "Flameeyes" Petten`o http://www.flameeyes.eu/autotools-mythbuster/automake/nonrecursive.html Signed-off-by: Yann Droneaud Signed-off-by: Sean Hefty --- diff --git a/configure.ac b/configure.ac index a9e95c00..807470f1 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_CONFIG_SRCDIR([src/cma.c]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(config) AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) LT_INIT