aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2014-05-06 10:33:24 -0700
committerRoland Dreier <roland@purestorage.com>2014-05-06 10:34:32 -0700
commitd2c392bb754a626c04e268739e7a076367bfbdc3 (patch)
tree1dd4653fee6ca4237de6950d5e3d53854a509b01
parent73c0a80ebaeaddde47de29b1aa62f7cbf94501dc (diff)
downloadlibmlx4-d2c392bb754a626c04e268739e7a076367bfbdc3.tar.gz
Enable subdir-objects for automake
Follow the advice automake gives us: automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ba29195..e2f0ec7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@ AC_INIT([libmlx4],[1.0.5],[linux-rdma@vger.kernel.org])
AC_CONFIG_SRCDIR([src/mlx4.h])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE([foreign])
+AM_INIT_AUTOMAKE([foreign subdir-objects])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
LT_INIT