summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-08-30 18:53:16 +0200
committerJim Meyering <meyering@redhat.com>2012-08-30 19:07:35 +0200
commit803b2f58760ed82e5eb182df75ba18c00c9f43bf (patch)
treedc05815f275c840072ca1b93dd765921dfb55073 /configure.ac
parent904a8d31d2906e8e653d670e508c4c6bd4b264c1 (diff)
downloadparted-803b2f58760ed82e5eb182df75ba18c00c9f43bf.tar.gz
build: enable subdir-objects Automake option globally
That option is enabled unconditionally in Automake-NG, and enabling it also for mainline Automake will help to ensure no unexpected incompatibilities is introduced in a potential port to Automake-NG. Moreover, if we have a source file 'sub/foo.c', having it compiled in 'sub/foo.o' rather than in 'foo.o' is undeniably cleaner and more natural. * configure.ac (AM_INIT_AUTOMAKE): Add 'subdir-objects'. * libparted/fs/Makefile.am (AUTOMAKE_OPTIONS): No need to declare 'subdir-objects' explicitly now. Copyright-paperwork-exempt: yes
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1444279..49ef75c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,8 @@ AC_SUBST([LT_CURRENT])
AC_SUBST([LT_REVISION])
AC_SUBST([LT_AGE])
-AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz color-tests parallel-tests
+ subdir-objects])
AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
AC_CANONICAL_HOST