summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-11 18:40:27 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-08-11 18:52:00 -0700
commit899268224e98d2c660839a08d70166543d8e0a51 (patch)
tree3e3003260082da33bec6573c1857ebbfb5af3b81
parenta3498cecb300d20ddaab033a8dbda72df52a8b3b (diff)
Add subdir-objects to automake options
automake 1.14.1 is asking for it: warning: possible forward-incompatibility. At least a source file is in a subdirectory, but the 'subdir-objects' automake option hasn't been enabled. For now, the corresponding output object file(s) will be placed in the top-level directory. However, this behaviour will change in future Automake versions: they will unconditionally cause object files to be placed in the same subdirectory of the corresponding sources. You are advised to start using 'subdir-objects' option throughout your project, to avoid future incompatibilities. and repeating for every source file: Makefile.am:35: warning: source file 'difs/charinfo.c' is in a subdirectory, Makefile.am:35: but option 'subdir-objects' is disabled This quiets it, and brings us into line with the future state. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 243e487..d29ca8e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,7 +33,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
# Initialize Automake
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects])
# Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
m4_ifndef([XORG_MACROS_VERSION],