summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-03 12:10:32 +0200
committerPaul Eggert <eggert@cs.ucla.edu>2013-05-06 06:12:22 -0700
commitd1d1df8e369b0f31e5e6f2784dbfa35d7ddc3647 (patch)
tree549a3a18acea78027507a2fa3618373d5a4ebe63 /configure.ac
parent1280234016e4eece403b72fc69f53e13044df5ef (diff)
downloaddiffutils-d1d1df8e369b0f31e5e6f2784dbfa35d7ddc3647.tar.gz
build: enable 'subdir-objects' automake option
The future major Automake version (2.0, ETA at least one year from now) might enable that option unconditionally, so better get prepared in due time. * configure.ac (AM_INIT_AUTOMAKE): Adjust. (AM_PROG_CC_C_O): New, required by Automake up to 1.13.x when the 'subdir-objects' is in use.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index aea40fc..90bebc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,13 +26,15 @@ AC_CONFIG_SRCDIR([src/diff.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip subdir-objects
+ color-tests parallel-tests])
AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
AC_CONFIG_HEADER([lib/config.h:lib/config.hin])
AC_PROG_AWK
AC_PROG_CC
+AM_PROG_CC_C_O
AM_MISSING_PROG([HELP2MAN], [help2man])
AC_PROG_RANLIB
gl_EARLY