[devhelp/wip/swilmet/build-system-update: 2/3] build: depend on Automake >= 1.14



commit 1bb57d254a833da11e2b736963a9a0083b2a8ca3
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Nov 3 14:51:14 2016 +0100

    build: depend on Automake >= 1.14
    
    Automake 1.14 has been released 3 years ago, so I think we can depend on
    it.
    
    This permits to remove the call to AM_PROG_CC_C_O.
    
    From the Automake documentation:
    
    https://www.gnu.org/software/automake/manual/automake.html
    
    AM_PROG_CC_C_O
    
        This is an obsolescent macro that checks that the C compiler
    supports the -c and -o options together. Note that, since Automake 1.14,
    the AC_PROG_CC is rewritten to implement such checks itself, and thus
    the explicit use of AM_PROG_CC_C_O should no longer be required.

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5ef94dd..f8fd1b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ AC_CONFIG_SRCDIR(src/dh-main.c)
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
 
-AM_INIT_AUTOMAKE([1.11 -Wall foreign no-define tar-ustar no-dist-gzip dist-xz -Wno-portability])
+AM_INIT_AUTOMAKE([1.14 -Wall foreign no-define tar-ustar no-dist-gzip dist-xz -Wno-portability])
 
 # Support silent build rules, requires at least automake-1.11. Disable
 # by either passing --disable-silent-rules to configure or passing V=1
@@ -32,7 +32,6 @@ AM_SILENT_RULES([yes])
 # Check for programs
 AC_PROG_CC
 AC_PROG_CPP
-AM_PROG_CC_C_O
 
 # Initialize libtool
 LT_PREREQ([2.2])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]