[devhelp] build: depend on Automake >= 1.14
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] build: depend on Automake >= 1.14
- Date: Sat, 12 Nov 2016 10:23:41 +0000 (UTC)
commit 9d588c27b894f72809b72f8b8fd519020ea1d1ae
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.
https://bugzilla.gnome.org/show_bug.cgi?id=773900
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]