[latexila/wip/build-system-update: 2/3] build: remove AM_PROG_CC_C_O and depend on Automake >= 1.14
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila/wip/build-system-update: 2/3] build: remove AM_PROG_CC_C_O and depend on Automake >= 1.14
- Date: Sun, 18 Dec 2016 12:13:12 +0000 (UTC)
commit cc49ecb73caded8b00bc2445077c96d05a83c683
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Dec 18 13:01:28 2016 +0100
build: remove AM_PROG_CC_C_O and 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 d5c0566..7ed913c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
# Init Automake
-AM_INIT_AUTOMAKE([1.12.5 foreign tar-ustar no-dist-gzip dist-xz -Wno-portability])
+AM_INIT_AUTOMAKE([1.14 foreign tar-ustar no-dist-gzip dist-xz -Wno-portability])
AM_MAINTAINER_MODE([enable])
AM_SILENT_RULES([yes])
@@ -74,7 +74,6 @@ AC_DEFINE_UNQUOTED([ICONS_DIR],
# Checks for programs
AC_PROG_CC
AC_PROG_INSTALL
-AM_PROG_CC_C_O
AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources])
AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums])
AC_PATH_PROG([GDBUS_CODEGEN], [gdbus-codegen])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]